diff options
author | Yuchung Cheng | 2015-02-09 21:35:23 +0100 |
---|---|---|
committer | David S. Miller | 2015-02-09 23:26:55 +0100 |
commit | 531c94a9681b8c253fd0490a4ca8bbe01a38c78b (patch) | |
tree | f15abdcc7f4af03a3cd80e234e68acc0601a7c5d /include/net/flowcache.h | |
parent | Merge branch 'ipv6_ufo_fix' (diff) | |
download | kernel-qcow2-linux-531c94a9681b8c253fd0490a4ca8bbe01a38c78b.tar.gz kernel-qcow2-linux-531c94a9681b8c253fd0490a4ca8bbe01a38c78b.tar.xz kernel-qcow2-linux-531c94a9681b8c253fd0490a4ca8bbe01a38c78b.zip |
tcp: don't include Fast Open option in SYN-ACK on pure SYN-data
If a server has enabled Fast Open and it receives a pure SYN-data
packet (without a Fast Open option), it won't accept the data but it
incorrectly returns a SYN-ACK with a Fast Open cookie and also
increments the SNMP stat LINUX_MIB_TCPFASTOPENPASSIVEFAIL.
This patch makes the server include a Fast Open cookie in SYN-ACK
only if the SYN has some Fast Open option (i.e., when client
requests or presents a cookie).
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/flowcache.h')
0 files changed, 0 insertions, 0 deletions