diff options
author | Peter Krystad <peter.krystad@linux.intel.com> | 2020-01-21 16:56:20 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-24 13:44:07 +0100 |
commit | 79c0949e9a09f6a14a6dd18dc8396029423f9b68 (patch) | |
tree | 98e6d16ac4d28c25a6c171706cb2ce90cec1bbdc /net/mptcp/Makefile | |
parent | cf7da0d66cc1a2a19fc5930bb746ffbb2d4cd1be (diff) | |
download | linux-79c0949e9a09f6a14a6dd18dc8396029423f9b68.tar.gz linux-79c0949e9a09f6a14a6dd18dc8396029423f9b68.tar.bz2 linux-79c0949e9a09f6a14a6dd18dc8396029423f9b68.zip |
mptcp: Add key generation and token tree
Generate the local keys, IDSN, and token when creating a new socket.
Introduce the token tree to track all tokens in use using a radix tree
with the MPTCP token itself as the index.
Override the rebuild_header callback in inet_connection_sock_af_ops for
creating the local key on a new outgoing connection.
Override the init_req callback of tcp_request_sock_ops for creating the
local key on a new incoming connection.
Will be used to obtain the MPTCP parent socket to handle incoming joins.
Co-developed-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Co-developed-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Florian Westphal <fw@strlen.de>
Co-developed-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Peter Krystad <peter.krystad@linux.intel.com>
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mptcp/Makefile')
-rw-r--r-- | net/mptcp/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mptcp/Makefile b/net/mptcp/Makefile index e1ee5aade8b0..178ae81d8b66 100644 --- a/net/mptcp/Makefile +++ b/net/mptcp/Makefile @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_MPTCP) += mptcp.o -mptcp-y := protocol.o subflow.o options.o +mptcp-y := protocol.o subflow.o options.o token.o crypto.o |