]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/mptcp/ctrl.c
mptcp: add sysctl allow_join_initial_addr_port
authorGeliang Tang <geliangtang@gmail.com>
Tue, 22 Jun 2021 19:25:18 +0000 (12:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Jun 2021 21:36:01 +0000 (14:36 -0700)
commitd2f77960e5b03b2d373252b2ee150a4a14010f99
treec408f08035adb2cb51becf1e8bd499d38bfa84d0
parenta432c771e2d9bc059ffe3028faf040c08b6a9f98
mptcp: add sysctl allow_join_initial_addr_port

This patch added a new sysctl, named allow_join_initial_addr_port, to
control whether allow peers to send join requests to the IP address and
port number used by the initial subflow.

Suggested-by: Florian Westphal <fw@strlen.de>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/mptcp-sysctl.rst
net/mptcp/ctrl.c
net/mptcp/protocol.h