]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Fix left_out setting during FRTO
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 12 Jun 2007 23:16:44 +0000 (16:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jun 2007 23:16:44 +0000 (16:16 -0700)
commite542b59fb5ee64ca466b712ea7f5489575657e0d
tree79b746ec4f6edb3d73d638096b5a249a3f57d85e
parent2a8a14c46e7550219b90a1838ff16d6e11617407
[TCP]: Fix left_out setting during FRTO

Without FRTO, the tcp_try_to_open is never called with
lost_out > 0 (see tcp_time_to_recover). However, when FRTO is
enabled, the !tp->lost condition is not used until end of FRTO
because that way TCP avoids premature entry to fast recovery
during FRTO.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c