]> git.baikalelectronics.ru Git - kernel.git/commit
dccp ccid-2: check Ack Ratio when reducing cwnd
authorSamuel Jero <sj323707@ohio.edu>
Mon, 25 Jul 2011 02:57:49 +0000 (20:57 -0600)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 1 Aug 2011 13:52:36 +0000 (07:52 -0600)
commit9796b08ecdc6ce9b27b0792e23e1abeb37146957
tree2dbda401acc0150346b2ce46ff0fe83a2af17299
parentd5d03ee023aeb1a8df24774ccb637749ce19bbc4
dccp ccid-2: check Ack Ratio when reducing cwnd

This patch causes CCID-2 to check the Ack Ratio after reducing the congestion
window. If the Ack Ratio is greater than the congestion window, it is
reduced. This prevents timeouts caused by an Ack Ratio larger than the
congestion window.

In this situation, we choose to set the Ack Ratio to half the congestion window
(or one if that's zero) so that if we loose one ack we don't trigger a timeout.

Signed-off-by: Samuel Jero <sj323707@ohio.edu>
Acked-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
net/dccp/ccids/ccid2.c