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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c
index 8c8de2780c7a..561550ab3c30 100644
--- a/net/ipv4/tcp_output.c
+++ b/net/ipv4/tcp_output.c
@@ -2308,8 +2308,10 @@ begin_fwd:
2308 if (sacked & (TCPCB_SACKED_ACKED|TCPCB_SACKED_RETRANS)) 2308 if (sacked & (TCPCB_SACKED_ACKED|TCPCB_SACKED_RETRANS))
2309 continue; 2309 continue;
2310 2310
2311 if (tcp_retransmit_skb(sk, skb)) 2311 if (tcp_retransmit_skb(sk, skb)) {
2312 NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_TCPRETRANSFAIL);
2312 return; 2313 return;
2314 }
2313 NET_INC_STATS_BH(sock_net(sk), mib_idx); 2315 NET_INC_STATS_BH(sock_net(sk), mib_idx);
2314 2316
2315 if (inet_csk(sk)->icsk_ca_state == TCP_CA_Recovery) 2317 if (inet_csk(sk)->icsk_ca_state == TCP_CA_Recovery)