aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-05-04 10:04:56 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-08 15:51:57 -0700
commitb9f47a3aaeabdce3b42829bbb27765fa340f76ba (patch)
tree93e4f34b502b8ab2f345d1357ab4ed3dfa5c5911 /block
parentipheth: Properly distinguish length and alignment in URBs and skbs (diff)
downloadlinux-dev-b9f47a3aaeabdce3b42829bbb27765fa340f76ba.tar.xz
linux-dev-b9f47a3aaeabdce3b42829bbb27765fa340f76ba.zip
tcp_cubic: limit delayed_ack ratio to prevent divide error
TCP Cubic keeps a metric that estimates the amount of delayed acknowledgements to use in adjusting the window. If an abnormally large number of packets are acknowledged at once, then the update could wrap and reach zero. This kind of ACK could only happen when there was a large window and huge number of ACK's were lost. This patch limits the value of delayed ack ratio. The choice of 32 is just a conservative value since normally it should be range of 1 to 4 packets. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions