diff options
Diffstat (limited to 'net/ipv4/tcp_timer.c')
-rw-r--r-- | net/ipv4/tcp_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_timer.c b/net/ipv4/tcp_timer.c index e9b151b3a598..d8970ecfcfc8 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c | |||
@@ -315,7 +315,7 @@ static void tcp_retransmit_timer(struct sock *sk) | |||
315 | if (icsk->icsk_retransmits == 0) { | 315 | if (icsk->icsk_retransmits == 0) { |
316 | if (icsk->icsk_ca_state == TCP_CA_Disorder || | 316 | if (icsk->icsk_ca_state == TCP_CA_Disorder || |
317 | icsk->icsk_ca_state == TCP_CA_Recovery) { | 317 | icsk->icsk_ca_state == TCP_CA_Recovery) { |
318 | if (tp->rx_opt.sack_ok) { | 318 | if (tcp_is_sack(tp)) { |
319 | if (icsk->icsk_ca_state == TCP_CA_Recovery) | 319 | if (icsk->icsk_ca_state == TCP_CA_Recovery) |
320 | NET_INC_STATS_BH(LINUX_MIB_TCPSACKRECOVERYFAIL); | 320 | NET_INC_STATS_BH(LINUX_MIB_TCPSACKRECOVERYFAIL); |
321 | else | 321 | else |