From a4ec665ccaf7345a60ee71c0f79c55ed8c7d9f66 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Fri, 5 Dec 2008 22:09:56 -0800 Subject: [PATCH] --- yaml --- r: 119765 b: refs/heads/master c: 0a0755c9fe47dc9f8271935909c66096e43efbfe h: refs/heads/master i: 119763: 0fcd1bd8ef31f8e1a38d54dfb58413bc200a85f9 v: v3 --- [refs] | 2 +- trunk/net/ipv4/tcp_vegas.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 182488878a4d..c3eae9dbc92b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cde6901b7b69557a6f90f3183f76eda581af015e +refs/heads/master: 0a0755c9fe47dc9f8271935909c66096e43efbfe diff --git a/trunk/net/ipv4/tcp_vegas.c b/trunk/net/ipv4/tcp_vegas.c index 14504dada116..7cd22262de3a 100644 --- a/trunk/net/ipv4/tcp_vegas.c +++ b/trunk/net/ipv4/tcp_vegas.c @@ -326,6 +326,8 @@ static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) tp->snd_cwnd = 2; else if (tp->snd_cwnd > tp->snd_cwnd_clamp) tp->snd_cwnd = tp->snd_cwnd_clamp; + + tp->snd_ssthresh = tcp_current_ssthresh(sk); } /* Wipe the slate clean for the next RTT. */