]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tcp: disable Fast Open on timeouts after handshake
authorYuchung Cheng <ycheng@google.com>
Thu, 19 Nov 2015 02:17:30 +0000 (18:17 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Dec 2015 05:25:37 +0000 (21:25 -0800)
commit613821244358240b000267299f050b2e11e52524
tree57cf32cfb9e4450caaa1a20b2dabf66552d1324a
parentb04ca425d344b0c4e8d2f488b9bdea340a6b15c1
tcp: disable Fast Open on timeouts after handshake

[ Upstream commit 0e45f4da5981895e885dd72fe912a3f8e32bae73 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/tcp_timer.c