diff options
author | Dmytro Shytyi <dmytro@shytyi.net> | 2022-11-25 23:29:50 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-30 05:24:25 +0100 |
commit | dfc8d06030335a816d81aa92fe5d1f84d06998ad (patch) | |
tree | 648fad954e673b0fc482d240987a2bf7ddb12457 /net/mptcp/protocol.c | |
parent | mptcp: consolidate initial ack seq generation (diff) | |
download | linux-dfc8d06030335a816d81aa92fe5d1f84d06998ad.tar.xz linux-dfc8d06030335a816d81aa92fe5d1f84d06998ad.zip |
mptcp: implement delayed seq generation for passive fastopen
With fastopen in place, the first subflow socket is created before the
MPC handshake completes, and we need to properly initialize the sequence
numbers at MPC ACK reception.
Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Dmytro Shytyi <dmytro@shytyi.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/mptcp/protocol.c')
-rw-r--r-- | net/mptcp/protocol.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 66a599d2ee19..3fa0aa44bf5b 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -36,15 +36,6 @@ struct mptcp6_sock { }; #endif -struct mptcp_skb_cb { - u64 map_seq; - u64 end_seq; - u32 offset; - u8 has_rxtstamp:1; -}; - -#define MPTCP_SKB_CB(__skb) ((struct mptcp_skb_cb *)&((__skb)->cb[0])) - enum { MPTCP_CMSG_TS = BIT(0), MPTCP_CMSG_INQ = BIT(1), |