aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_timer.c
diff options
context:
space:
mode:
authorYuchung Cheng <[email protected]>2015-02-09 12:35:23 -0800
committerDavid S. Miller <[email protected]>2015-02-09 14:26:55 -0800
commit531c94a9681b8c253fd0490a4ca8bbe01a38c78b (patch)
treef15abdcc7f4af03a3cd80e234e68acc0601a7c5d /net/ipv4/tcp_timer.c
parent223ab8ffeb0c7883304d66e5891004643b0e1c0b (diff)
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 <[email protected]> Acked-by: Neal Cardwell <[email protected]> Acked-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions