net/tcp_fastopen: Remove mss check in tcp_write_timeout()
authorWei Wang <weiwan@google.com>
Thu, 20 Apr 2017 21:45:48 +0000 (14:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 18:27:17 +0000 (14:27 -0400)
commit59450f8d83cb6743178c7996a6c6fc78ff3e6db9
tree258bd7edb6ba1acf0241d1276fd58b1c6be1dcb8
parent46c2fa39877ed70415ee2b1acfb9129e956f6de4
net/tcp_fastopen: Remove mss check in tcp_write_timeout()

Christoph Paasch from Apple found another firewall issue for TFO:
After successful 3WHS using TFO, server and client starts to exchange
data. Afterwards, a 10s idle time occurs on this connection. After that,
firewall starts to drop every packet on this connection.

The fix for this issue is to extend existing firewall blackhole detection
logic in tcp_write_timeout() by removing the mss check.

Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_timer.c