aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r--net/ipv4/tcp_output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 53296753b0bd..324b4207254a 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -1914,6 +1914,8 @@ int tcp_retransmit_skb(struct sock *sk, struct sk_buff *skb)
1914 printk(KERN_DEBUG "retrans_out leaked.\n"); 1914 printk(KERN_DEBUG "retrans_out leaked.\n");
1915 } 1915 }
1916#endif 1916#endif
1917 if (!tp->retrans_out)
1918 tp->lost_retrans_low = tp->snd_nxt;
1917 TCP_SKB_CB(skb)->sacked |= TCPCB_RETRANS; 1919 TCP_SKB_CB(skb)->sacked |= TCPCB_RETRANS;
1918 tp->retrans_out += tcp_skb_pcount(skb); 1920 tp->retrans_out += tcp_skb_pcount(skb);
1919 1921