]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: Add a per-namespace sysctl to set the default path manager type
authorMat Martineau <mathew.j.martineau@linux.intel.com>
Wed, 27 Apr 2022 22:50:01 +0000 (15:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Apr 2022 00:25:14 +0000 (17:25 -0700)
commit4e7d48005f8d82aba97727b37236ebe13c4237b3
tree27a07b92bb40e431961f8ea6cb58b35e984fc353
parent18d8f83bd0ba573b8e0ec200cb6e9926b4072978
mptcp: Add a per-namespace sysctl to set the default path manager type

The new net.mptcp.pm_type sysctl determines which path manager will be
used by each newly-created MPTCP socket.

v2: Handle builds without CONFIG_SYSCTL
v3: Clarify logic for type-specific PM init (Geliang Tang and Paolo Abeni)

Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/mptcp-sysctl.rst
net/mptcp/ctrl.c
net/mptcp/pm.c
net/mptcp/protocol.h