aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/tcp_input.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 722c9cbb91e3..41f4b862319d 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -2504,11 +2504,8 @@ tcp_fastretrans_alert(struct sock *sk, int pkts_acked, int flag)
2504 (tcp_fackets_out(tp) > tp->reordering)); 2504 (tcp_fackets_out(tp) > tp->reordering));
2505 int fast_rexmit = 0; 2505 int fast_rexmit = 0;
2506 2506
2507 /* Some technical things: 2507 if (WARN_ON(!tp->packets_out && tp->sacked_out))
2508 * 1. Reno does not count dupacks (sacked_out) automatically. */
2509 if (!tp->packets_out)
2510 tp->sacked_out = 0; 2508 tp->sacked_out = 0;
2511
2512 if (WARN_ON(!tp->sacked_out && tp->fackets_out)) 2509 if (WARN_ON(!tp->sacked_out && tp->fackets_out))
2513 tp->fackets_out = 0; 2510 tp->fackets_out = 0;
2514 2511