]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitfb80a6e1a521eb298edb4365429d533dd39427fa
treec832c3544aea353aaf73b5536e9ac1579d8fbfaf
parent0f3262157899efd422228713a521504bdf0c991e
[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