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 091c53925e4d..25efdae4368a 100644 --- a/net/ipv4/tcp_timer.c +++ b/net/ipv4/tcp_timer.c | |||
@@ -378,7 +378,7 @@ static void tcp_probe_timer(struct sock *sk) | |||
378 | return; | 378 | return; |
379 | } | 379 | } |
380 | 380 | ||
381 | if (icsk->icsk_probes_out > max_probes) { | 381 | if (icsk->icsk_probes_out >= max_probes) { |
382 | abort: tcp_write_err(sk); | 382 | abort: tcp_write_err(sk); |
383 | } else { | 383 | } else { |
384 | /* Only send another probe if we didn't close things up. */ | 384 | /* Only send another probe if we didn't close things up. */ |