]> git.baikalelectronics.ru Git - kernel.git/commit
[TCP]: Don't allow FRTO to take place while MTU is being probed
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Tue, 8 Apr 2008 05:33:57 +0000 (22:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Apr 2008 05:33:57 +0000 (22:33 -0700)
commit2f03caa6a789646733e2fb3e82248865c430a88f
tree2ed50e47632902fe93f601d79fbb0ee8cb43c11c
parent5867ed4a43a1211702e3a15e4a4f65cf6dc840ea
[TCP]: Don't allow FRTO to take place while MTU is being probed

MTU probe can cause some remedies for FRTO because the normal
packet ordering may be violated allowing FRTO to make a wrong
decision (it might not be that serious threat for anything
though). Thus it's safer to not run FRTO while MTU probe is
underway.

It seems that the basic FRTO variant should also look for an
skb at probe_seq.start to check if that's retransmitted one
but I didn't implement it now (plain seqno in window check
isn't robust against wraparounds).

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