summaryrefslogtreecommitdiffstats
path: root/kernel/net/ipv4/tcp_veno.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ipv4/tcp_veno.c')
-rw-r--r--kernel/net/ipv4/tcp_veno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/ipv4/tcp_veno.c b/kernel/net/ipv4/tcp_veno.c
index 112151eee..0d094b995 100644
--- a/kernel/net/ipv4/tcp_veno.c
+++ b/kernel/net/ipv4/tcp_veno.c
@@ -150,7 +150,7 @@ static void tcp_veno_cong_avoid(struct sock *sk, u32 ack, u32 acked)
veno->diff = (tp->snd_cwnd << V_PARAM_SHIFT) - target_cwnd;
- if (tp->snd_cwnd <= tp->snd_ssthresh) {
+ if (tcp_in_slow_start(tp)) {
/* Slow start. */
tcp_slow_start(tp, acked);
} else {