diff options
-rw-r--r-- | net/ipv4/tcp_vegas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_vegas.c b/net/ipv4/tcp_vegas.c index 218cfcc77650..ee113ff15fd0 100644 --- a/net/ipv4/tcp_vegas.c +++ b/net/ipv4/tcp_vegas.c | |||
@@ -158,7 +158,7 @@ EXPORT_SYMBOL_GPL(tcp_vegas_cwnd_event); | |||
158 | 158 | ||
159 | static inline u32 tcp_vegas_ssthresh(struct tcp_sock *tp) | 159 | static inline u32 tcp_vegas_ssthresh(struct tcp_sock *tp) |
160 | { | 160 | { |
161 | return min(tp->snd_ssthresh, tp->snd_cwnd-1); | 161 | return min(tp->snd_ssthresh, tp->snd_cwnd); |
162 | } | 162 | } |
163 | 163 | ||
164 | static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 acked) | 164 | static void tcp_vegas_cong_avoid(struct sock *sk, u32 ack, u32 acked) |