|
@@ -2615,7 +2615,6 @@ void tcp_simple_retransmit(struct sock *sk)
|
|
struct tcp_sock *tp = tcp_sk(sk);
|
|
struct tcp_sock *tp = tcp_sk(sk);
|
|
struct sk_buff *skb;
|
|
struct sk_buff *skb;
|
|
unsigned int mss = tcp_current_mss(sk);
|
|
unsigned int mss = tcp_current_mss(sk);
|
|
- u32 prior_lost = tp->lost_out;
|
|
|
|
|
|
|
|
tcp_for_write_queue(skb, sk) {
|
|
tcp_for_write_queue(skb, sk) {
|
|
if (skb == tcp_send_head(sk))
|
|
if (skb == tcp_send_head(sk))
|
|
@@ -2632,7 +2631,7 @@ void tcp_simple_retransmit(struct sock *sk)
|
|
|
|
|
|
tcp_clear_retrans_hints_partial(tp);
|
|
tcp_clear_retrans_hints_partial(tp);
|
|
|
|
|
|
- if (prior_lost == tp->lost_out)
|
|
|
|
|
|
+ if (!tp->lost_out)
|
|
return;
|
|
return;
|
|
|
|
|
|
if (tcp_is_reno(tp))
|
|
if (tcp_is_reno(tp))
|