summaryrefslogtreecommitdiffstats
path: root/kernel/net/ipv4/tcp_hybla.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ipv4/tcp_hybla.c')
-rw-r--r--kernel/net/ipv4/tcp_hybla.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/ipv4/tcp_hybla.c b/kernel/net/ipv4/tcp_hybla.c
index f963b274f..083831e35 100644
--- a/kernel/net/ipv4/tcp_hybla.c
+++ b/kernel/net/ipv4/tcp_hybla.c
@@ -112,7 +112,7 @@ static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 acked)
rho_fractions = ca->rho_3ls - (ca->rho << 3);
- if (tp->snd_cwnd < tp->snd_ssthresh) {
+ if (tcp_in_slow_start(tp)) {
/*
* slow start
* INC = 2^RHO - 1