tcp: fixing TLP's FIN recovery
authorPer Hurtig <per.hurtig@kau.se>
Thu, 12 Jun 2014 15:08:32 +0000 (17:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jun 2014 18:05:51 +0000 (11:05 -0700)
commitbef1909ee3ed1ca39231b260a8d3b4544ecd0c8f
tree79fcd83a88cbe8908d122af2498eed9f37220a3b
parentfba0e1a3cfcc1d61e593f97650e18931a2aa1fc8
tcp: fixing TLP's FIN recovery

Fix to a problem observed when losing a FIN segment that does not
contain data.  In such situations, TLP is unable to recover from
*any* tail loss and instead adds at least PTO ms to the
retransmission process, i.e., RTO = RTO + PTO.

Signed-off-by: Per Hurtig <per.hurtig@kau.se>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Nandita Dukkipati <nanditad@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_output.c