diff options
Diffstat (limited to 'kernel/net/ipv4/tcp_bic.c')
-rw-r--r-- | kernel/net/ipv4/tcp_bic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/ipv4/tcp_bic.c b/kernel/net/ipv4/tcp_bic.c index c037644ea..fd1405d37 100644 --- a/kernel/net/ipv4/tcp_bic.c +++ b/kernel/net/ipv4/tcp_bic.c @@ -146,7 +146,7 @@ static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked) if (!tcp_is_cwnd_limited(sk)) return; - if (tp->snd_cwnd <= tp->snd_ssthresh) + if (tcp_in_slow_start(tp)) tcp_slow_start(tp, acked); else { bictcp_update(ca, tp->snd_cwnd); |