summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_fastopen.c
diff options
context:
space:
mode:
authorYuchung Cheng2014-05-12 05:22:12 +0200
committerDavid S. Miller2014-05-13 23:53:03 +0200
commit0a672f74131dd682087dfd5f45bf61f95804772e (patch)
tree4e3781451c7828a66c8d49771bcb4c5f26818709 /net/ipv4/tcp_fastopen.c
parenttcp: use tcp_v4_send_synack on first SYN-ACK (diff)
downloadkernel-qcow2-linux-0a672f74131dd682087dfd5f45bf61f95804772e.tar.gz
kernel-qcow2-linux-0a672f74131dd682087dfd5f45bf61f95804772e.tar.xz
kernel-qcow2-linux-0a672f74131dd682087dfd5f45bf61f95804772e.zip
tcp: improve fastopen icmp handling
If a fast open socket is already accepted by the user, it should be treated like a connected socket to record the ICMP error in sk_softerr, so the user can fetch it. Do that in both tcp_v4_err and tcp_v6_err. Also refactor the sequence window check to improve readability (e.g., there were two local variables named 'req'). Signed-off-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: Daniel Lee <longinus00@gmail.com> Signed-off-by: Jerry Chu <hkchu@google.com> Acked-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions