diff options
author | Florian Westphal <fw@strlen.de> | 2020-07-30 21:25:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-01 01:55:32 +0200 |
commit | 6fc8c827dd4fa615965c4eac9bbfd465f6eb8fb4 (patch) | |
tree | f80652d4e2f503448acd4b507f4372b83b1312ea /net/ipv4/tcp_recovery.c | |
parent | mptcp: subflow: add mptcp_subflow_init_cookie_req helper (diff) | |
download | linux-6fc8c827dd4fa615965c4eac9bbfd465f6eb8fb4.tar.xz linux-6fc8c827dd4fa615965c4eac9bbfd465f6eb8fb4.zip |
tcp: syncookies: create mptcp request socket for ACK cookies with MPTCP option
If SYN packet contains MP_CAPABLE option, keep it enabled.
Syncokie validation and cookie-based socket creation is changed to
instantiate an mptcp request sockets if the ACK contains an MPTCP
connection request.
Rather than extend both cookie_v4/6_check, add a common helper to create
the (mp)tcp request socket.
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_recovery.c')
0 files changed, 0 insertions, 0 deletions