]> Git Repo - linux.git/commit
mptcp: no admin perm to list endpoints
authorMatthieu Baerts (NGI0) <[email protected]>
Mon, 4 Nov 2024 12:31:41 +0000 (13:31 +0100)
committerJakub Kicinski <[email protected]>
Wed, 6 Nov 2024 01:51:08 +0000 (17:51 -0800)
commitcfbbd4859882a5469f6f4945937a074ee78c4b46
tree46b4d841a8aa9c4bd86bdf5ecd300f4f2f799e01
parent256748d5480bb3c4b731236c6d6fc86a8e2815d8
mptcp: no admin perm to list endpoints

During the switch to YNL, the command to list all endpoints has been
accidentally restricted to users with admin permissions.

It looks like there are no reasons to have this restriction which makes
it harder for a user to quickly check if the endpoint list has been
correctly populated by an automated tool. Best to go back to the
previous behaviour then.

mptcp_pm_gen.c has been modified using ynl-gen-c.py:

   $ ./tools/net/ynl/ynl-gen-c.py --mode kernel \
     --spec Documentation/netlink/specs/mptcp_pm.yaml --source \
     -o net/mptcp/mptcp_pm_gen.c

The header file doesn't need to be regenerated.

Fixes: 1d0507f46843 ("net: mptcp: convert netlink from small_ops to ops")
Cc: [email protected]
Reviewed-by: Davide Caratti <[email protected]>
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Documentation/netlink/specs/mptcp_pm.yaml
net/mptcp/mptcp_pm_gen.c
This page took 0.06297 seconds and 4 git commands to generate.