]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP] tcp_highspeed: Fix problem observed by Xiaoliang (David) Wei
authorStephen Hemminger <shemminger@osdl.org>
Sat, 3 Jun 2006 00:51:08 +0000 (17:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jun 2006 00:51:08 +0000 (17:51 -0700)
commit325c90ce5ae982249b57c81738a72b7f01d14768
treec832c3544aea353aaf73b5536e9ac1579d8fbfaf
parentbcfe677576cbbe9f01ecf12d5fe86813c37d1e88
[TCP] tcp_highspeed: Fix problem observed by Xiaoliang (David) Wei

When snd_cwnd is smaller than 38 and the connection is in
congestion avoidance phase (snd_cwnd > snd_ssthresh), the snd_cwnd
seems to stop growing.

The additive increase was confused because C array's are 0 based.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_highspeed.c