]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP] FRTO: Improve interoperability with other undo_marker users
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Thu, 20 Sep 2007 18:34:38 +0000 (11:34 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:11 +0000 (16:52 -0700)
commit6a9ec8582c024215ce56788982cc90a916f4e398
tree65aba1ad44fb5519a0a043b7a97d76242b4d663f
parentc45ffad2cc2e815211038634bc01174d0c883f78
[TCP] FRTO: Improve interoperability with other undo_marker users

Basically this change enables it, previously other undo_marker
users were left with nothing. Reverse undo_marker logic
completely to get it set right in CA_Loss. On the other hand,
when spurious RTO is detected, clear it. Clearing might be too
heavy for some scenarios but seems safe enough starting point
for now and shouldn't have much effect except in majority of
cases (if in any).

By adding a new FLAG_ we avoid looping through write_queue when
RTO occurs.

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