aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp_input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 7213740477ee..9dc5754141e9 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2551,11 +2551,11 @@ static void tcp_process_frto(struct sock *sk, u32 prior_snd_una, int flag)
2551 2551
2552 if (tp->frto_counter == 1) { 2552 if (tp->frto_counter == 1) {
2553 tp->snd_cwnd = tcp_packets_in_flight(tp) + 2; 2553 tp->snd_cwnd = tcp_packets_in_flight(tp) + 2;
2554 tp->frto_counter = 2;
2554 } else /* frto_counter == 2 */ { 2555 } else /* frto_counter == 2 */ {
2555 tcp_conservative_spur_to_response(tp); 2556 tcp_conservative_spur_to_response(tp);
2557 tp->frto_counter = 0;
2556 } 2558 }
2557
2558 tp->frto_counter = (tp->frto_counter + 1) % 3;
2559} 2559}
2560 2560
2561/* This routine deals with incoming acks, but not outgoing ones. */ 2561/* This routine deals with incoming acks, but not outgoing ones. */