mbox series

[net,0/2] mptcp: pm: fix wrong perm and sock kfree

Message ID 20241104-net-mptcp-misc-6-12-v1-0-c13f2ff1656f@kernel.org (mailing list archive)
Headers show
Series mptcp: pm: fix wrong perm and sock kfree | expand

Message

Matthieu Baerts Nov. 4, 2024, 12:31 p.m. UTC
Two small fixes related to the MPTCP path-manager:

- Patch 1: remove an accidental restriction to admin users to list MPTCP
  endpoints. A regression from v6.7.

- Patch 2: correctly use sock_kfree_s() instead of kfree() in the
  userspace PM. A fix for another fix introduced in v6.4 and
  backportable up to v5.19.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Geliang Tang (1):
      mptcp: use sock_kfree_s instead of kfree

Matthieu Baerts (NGI0) (1):
      mptcp: no admin perm to list endpoints

 Documentation/netlink/specs/mptcp_pm.yaml | 1 -
 net/mptcp/mptcp_pm_gen.c                  | 1 -
 net/mptcp/pm_userspace.c                  | 3 ++-
 3 files changed, 2 insertions(+), 3 deletions(-)
---
base-commit: 5ccdcdf186aec6b9111845fd37e1757e9b413e2f
change-id: 20241104-net-mptcp-misc-6-12-34ca759f78ee

Best regards,