From e775eb4e017d94d9be0e6cb78838752b03956d4a Mon Sep 17 00:00:00 2001 From: John Heffner Date: Fri, 5 May 2006 17:41:44 -0700 Subject: [PATCH] --- yaml --- r: 26530 b: refs/heads/master c: 5528e568a760442e0ec8fd2dea1f0791875a066b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/ipv4/tcp_highspeed.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f0ed1efacda2..4d37c1f95159 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f530937b2cccdb131cb459977943c98421ab09b3 +refs/heads/master: 5528e568a760442e0ec8fd2dea1f0791875a066b diff --git a/trunk/net/ipv4/tcp_highspeed.c b/trunk/net/ipv4/tcp_highspeed.c index e0e9d1383c7c..b72fa55dfb84 100644 --- a/trunk/net/ipv4/tcp_highspeed.c +++ b/trunk/net/ipv4/tcp_highspeed.c @@ -137,8 +137,8 @@ static void hstcp_cong_avoid(struct sock *sk, u32 adk, u32 rtt, if (tp->snd_cwnd < tp->snd_cwnd_clamp) { tp->snd_cwnd_cnt += ca->ai; if (tp->snd_cwnd_cnt >= tp->snd_cwnd) { - tp->snd_cwnd++; tp->snd_cwnd_cnt -= tp->snd_cwnd; + tp->snd_cwnd++; } } }