mptcp: add support for TCP_FASTOPEN_KEY sockopt
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Fri, 25 Nov 2022 22:29:53 +0000 (23:29 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 30 Nov 2022 04:24:26 +0000 (20:24 -0800)
commitcb99816cb59d4253758827186d5a5616f9825b6c
tree8312234f8ed4b9360a8ca7562360a423bc910388
parent4ffb0a02346c14f5e83711668f19b6b551cd32ed
mptcp: add support for TCP_FASTOPEN_KEY sockopt

The goal of this socket option is to set different keys per listener,
see commit 1fba70e5b6be ("tcp: socket option to set TCP fast open key")
for more details about this socket option.

The only thing to do here with MPTCP is to relay the request to the
first subflow like it is already done for the other TCP_FASTOPEN* socket
options.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mptcp/sockopt.c