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,7 +1522,8 @@ void tcp_send_probe0(struct sock *sk)
}
if (err <= 0) {
tp->backoff++;
if (tp->backoff < sysctl_tcp_retries2)
tp->backoff++;
tp->probes_out++;
tcp_reset_xmit_timer (sk, TCP_TIME_PROBE0,
min(tp->rto << tp->backoff, TCP_RTO_MAX));
......
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