]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix an infinite loop in tcp_slow_start()
authorEric Dumazet <edumazet@google.com>
Sat, 2 Feb 2013 05:23:16 +0000 (05:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Feb 2013 21:00:25 +0000 (16:00 -0500)
commit0b9412da761a7c7ad6fd94de32554fff19d99bb0
tree29d7b5de18aeff078f265f75a2a94be22254b851
parent2570d7dfdb48d3ad1f6da233a8713aa9f85966c3
tcp: fix an infinite loop in tcp_slow_start()

Since commit f8aa8fb913dc1 (tcp: fix ABC in tcp_slow_start()),
a nul snd_cwnd triggers an infinite loop in tcp_slow_start()

Avoid this infinite loop and log a one time error for further
analysis. FRTO code is suspected to cause this bug.

Reported-by: Pasi Kärkkäinen <pasik@iki.fi>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_cong.c