lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250313-net-next-mptcp-pm-ops-intro-v1-0-f4e4a88efc50@kernel.org>
Date: Thu, 13 Mar 2025 11:20:49 +0100
From: "Matthieu Baerts (NGI0)" <matttbe@...nel.org>
To: mptcp@...ts.linux.dev, Mat Martineau <martineau@...nel.org>, 
 Geliang Tang <geliang@...nel.org>, "David S. Miller" <davem@...emloft.net>, 
 Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, 
 Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>, 
 Jonathan Corbet <corbet@....net>, Shuah Khan <shuah@...nel.org>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org, 
 linux-doc@...r.kernel.org, linux-kselftest@...r.kernel.org, 
 "Matthieu Baerts (NGI0)" <matttbe@...nel.org>, 
 Geliang Tang <geliang@...nel.org>
Subject: [PATCH net-next 00/12] mptcp: pm: prep work for new ops and sysctl
 knobs

Here are a few cleanups, preparation work for the new PM ops, and sysctl
knobs.

- Patch 1: reorg: move generic NL code used by all PMs to pm_netlink.c.

- Patch 2: use kmemdup() instead of kmalloc + copy.

- Patch 3: small cleanup to use pm var instead of msk->pm.

- Patch 4: reorg: id_avail_bitmap is only used by the in-kernel PM.

- Patch 5: use struct_group to easily reset a subset of PM data vars.

- Patch 6: introduce the minimal skeleton for the new PM ops.

- Patch 7: register in-kernel and userspace PM ops.

- Patch 8: new net.mptcp.path_manager sysctl knob, deprecating pm_type.

- Patch 9: map the new path_manager sysctl knob with pm_type.

- Patch 10: map the old pm_type sysctl knob with path_manager.

- Patch 11: new net.mptcp.available_path_managers sysctl knob.

- Patch 12: new test to validate path_manager and pm_type mapping.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@...nel.org>
---
Geliang Tang (11):
      mptcp: pm: in-kernel: use kmemdup helper
      mptcp: pm: use pm variable instead of msk->pm
      mptcp: pm: only fill id_avail_bitmap for in-kernel pm
      mptcp: pm: add struct_group in mptcp_pm_data
      mptcp: pm: define struct mptcp_pm_ops
      mptcp: pm: register in-kernel and userspace PM
      mptcp: sysctl: set path manager by name
      mptcp: sysctl: map path_manager to pm_type
      mptcp: sysctl: map pm_type to path_manager
      mptcp: sysctl: add available_path_managers
      selftests: mptcp: add pm sysctl mapping tests

Matthieu Baerts (NGI0) (1):
      mptcp: pm: split netlink and in-kernel init

 Documentation/networking/mptcp-sysctl.rst         |  23 +++++
 include/net/mptcp.h                               |  14 +++
 net/mptcp/ctrl.c                                  | 113 +++++++++++++++++++++-
 net/mptcp/pm.c                                    |  97 ++++++++++++++++---
 net/mptcp/pm_kernel.c                             |  16 +--
 net/mptcp/pm_netlink.c                            |   6 ++
 net/mptcp/pm_userspace.c                          |  10 ++
 net/mptcp/protocol.h                              |  17 ++++
 tools/testing/selftests/net/mptcp/userspace_pm.sh |  30 +++++-
 9 files changed, 301 insertions(+), 25 deletions(-)
---
base-commit: e016cf5f39e9c53e274a7b7122a949d8839b8782
change-id: 20250312-net-next-mptcp-pm-ops-intro-01510135cd5e

Best regards,
-- 
Matthieu Baerts (NGI0) <matttbe@...nel.org>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ