summaryrefslogtreecommitdiffstats
path: root/kernel/net/ipv4/tcp_illinois.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ipv4/tcp_illinois.c')
-rw-r--r--kernel/net/ipv4/tcp_illinois.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/ipv4/tcp_illinois.c b/kernel/net/ipv4/tcp_illinois.c
index f71002e4d..2ab9bbb6f 100644
--- a/kernel/net/ipv4/tcp_illinois.c
+++ b/kernel/net/ipv4/tcp_illinois.c
@@ -268,7 +268,7 @@ static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 acked)
return;
/* In slow start */
- if (tp->snd_cwnd <= tp->snd_ssthresh)
+ if (tcp_in_slow_start(tp))
tcp_slow_start(tp, acked);
else {