tcp: disable Fast Open on timeouts after handshake
authorYuchung Cheng <ycheng@google.com>
Thu, 19 Nov 2015 02:17:30 +0000 (18:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 15:51:12 +0000 (10:51 -0500)
commit0e45f4da5981895e885dd72fe912a3f8e32bae73
treef3396ee4df16edd93595e8fc878cfad1421b67bb
parent0db19b850468a24b70d8471f5ebe71f0a035bbab
tcp: disable Fast Open on timeouts after handshake

Some middle-boxes black-hole the data after the Fast Open handshake
(https://www.ietf.org/proceedings/94/slides/slides-94-tcpm-13.pdf).
The exact reason is unknown. The work-around is to disable Fast Open
temporarily after multiple recurring timeouts with few or no data
delivered in the established state.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_timer.c