diff options
Diffstat (limited to 'net/ipv4/tcp_lp.c')
-rw-r--r-- | net/ipv4/tcp_lp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/tcp_lp.c b/net/ipv4/tcp_lp.c index 72f7218b03f5..991d62a2f9bb 100644 --- a/net/ipv4/tcp_lp.c +++ b/net/ipv4/tcp_lp.c | |||
@@ -115,12 +115,13 @@ static void tcp_lp_init(struct sock *sk) | |||
115 | * Will only call newReno CA when away from inference. | 115 | * Will only call newReno CA when away from inference. |
116 | * From TCP-LP's paper, this will be handled in additive increasement. | 116 | * From TCP-LP's paper, this will be handled in additive increasement. |
117 | */ | 117 | */ |
118 | static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 in_flight) | 118 | static void tcp_lp_cong_avoid(struct sock *sk, u32 ack, u32 acked, |
119 | u32 in_flight) | ||
119 | { | 120 | { |
120 | struct lp *lp = inet_csk_ca(sk); | 121 | struct lp *lp = inet_csk_ca(sk); |
121 | 122 | ||
122 | if (!(lp->flag & LP_WITHIN_INF)) | 123 | if (!(lp->flag & LP_WITHIN_INF)) |
123 | tcp_reno_cong_avoid(sk, ack, in_flight); | 124 | tcp_reno_cong_avoid(sk, ack, acked, in_flight); |
124 | } | 125 | } |
125 | 126 | ||
126 | /** | 127 | /** |