Commit ac1a6df6 authored by David S. Miller's avatar David S. Miller

[TCP]: Do not bump backoff too high during 0-window probes.

parent 81f29fc7
...@@ -1522,6 +1522,7 @@ void tcp_send_probe0(struct sock *sk) ...@@ -1522,6 +1522,7 @@ void tcp_send_probe0(struct sock *sk)
} }
if (err <= 0) { if (err <= 0) {
if (tp->backoff < sysctl_tcp_retries2)
tp->backoff++; tp->backoff++;
tp->probes_out++; tp->probes_out++;
tcp_reset_xmit_timer (sk, TCP_TIME_PROBE0, tcp_reset_xmit_timer (sk, TCP_TIME_PROBE0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment