aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_hybla.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_hybla.c')
-rw-r--r--net/ipv4/tcp_hybla.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv4/tcp_hybla.c b/net/ipv4/tcp_hybla.c
index b3e55cf56171..44618b675916 100644
--- a/net/ipv4/tcp_hybla.c
+++ b/net/ipv4/tcp_hybla.c
@@ -85,8 +85,7 @@ static inline u32 hybla_fraction(u32 odds)
85 * o Give cwnd a new value based on the model proposed 85 * o Give cwnd a new value based on the model proposed
86 * o remember increments <1 86 * o remember increments <1
87 */ 87 */
88static void hybla_cong_avoid(struct sock *sk, u32 ack, 88static void hybla_cong_avoid(struct sock *sk, u32 ack, u32 in_flight)
89 u32 in_flight, int flag)
90{ 89{
91 struct tcp_sock *tp = tcp_sk(sk); 90 struct tcp_sock *tp = tcp_sk(sk);
92 struct hybla *ca = inet_csk_ca(sk); 91 struct hybla *ca = inet_csk_ca(sk);
@@ -103,7 +102,7 @@ static void hybla_cong_avoid(struct sock *sk, u32 ack,
103 return; 102 return;
104 103
105 if (!ca->hybla_en) 104 if (!ca->hybla_en)
106 return tcp_reno_cong_avoid(sk, ack, in_flight, flag); 105 return tcp_reno_cong_avoid(sk, ack, in_flight);
107 106
108 if (ca->rho == 0) 107 if (ca->rho == 0)
109 hybla_recalc_param(sk); 108 hybla_recalc_param(sk);