[TCP] FRTO: Prevent state inconsistency in corner cases
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>
Sat, 19 May 2007 20:56:57 +0000 (13:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 May 2007 20:56:57 +0000 (13:56 -0700)
commit580e572a4a1bfea2f42af63ba4785ac7dfbcb45d
tree0c28904f333818cfe86a6cf95cee8bff75eec0a7
parent463236557db4b5d4de9eb3fafa2e7d7905ac65ab
[TCP] FRTO: Prevent state inconsistency in corner cases

State could become inconsistent in two cases:

1) Userspace disabled FRTO by tuning sysctl when one of the TCP
   flows was in the middle of FRTO algorithm (and then RTO is
   again triggered)

2) SACK reneging occurs during FRTO algorithm

A simple solution is just to abort the previous FRTO when such
obscure condition 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