diff options
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r-- | net/ipv4/tcp_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index b2fc7163bd40..b6bb3cdfad09 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -2615,7 +2615,6 @@ void tcp_simple_retransmit(struct sock *sk) | |||
2615 | struct tcp_sock *tp = tcp_sk(sk); | 2615 | struct tcp_sock *tp = tcp_sk(sk); |
2616 | struct sk_buff *skb; | 2616 | struct sk_buff *skb; |
2617 | unsigned int mss = tcp_current_mss(sk); | 2617 | unsigned int mss = tcp_current_mss(sk); |
2618 | u32 prior_lost = tp->lost_out; | ||
2619 | 2618 | ||
2620 | tcp_for_write_queue(skb, sk) { | 2619 | tcp_for_write_queue(skb, sk) { |
2621 | if (skb == tcp_send_head(sk)) | 2620 | if (skb == tcp_send_head(sk)) |
@@ -2632,7 +2631,7 @@ void tcp_simple_retransmit(struct sock *sk) | |||
2632 | 2631 | ||
2633 | tcp_clear_retrans_hints_partial(tp); | 2632 | tcp_clear_retrans_hints_partial(tp); |
2634 | 2633 | ||
2635 | if (prior_lost == tp->lost_out) | 2634 | if (!tp->lost_out) |
2636 | return; | 2635 | return; |
2637 | 2636 | ||
2638 | if (tcp_is_reno(tp)) | 2637 | if (tcp_is_reno(tp)) |