]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: new sysctl to control the activation per NS
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Wed, 22 Jan 2020 00:56:28 +0000 (16:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jan 2020 12:44:08 +0000 (13:44 +0100)
commitea8331d9be6528f35b39004a674a77bf014fe50a
treebe5bd8ba980fad661767ec1e0a24e16af4448d14
parent6dc8042ba9ccc6ac246e1f0f04f4e675e1588131
mptcp: new sysctl to control the activation per NS

New MPTCP sockets will return -ENOPROTOOPT if MPTCP support is disabled
for the current net namespace.

We are providing here a way to control access to the feature for those
that need to turn it on or off.

The value of this new sysctl can be different per namespace. We can then
restrict the usage of MPTCP to the selected NS. In case of serious
issues with MPTCP, administrators can now easily turn MPTCP off.

Co-developed-by: Peter Krystad <peter.krystad@linux.intel.com>
Signed-off-by: Peter Krystad <peter.krystad@linux.intel.com>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/Makefile
net/mptcp/ctrl.c [new file with mode: 0644]
net/mptcp/protocol.c
net/mptcp/protocol.h