]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
tools: ynl: add uns-admin-perm to genetlink
authorAntonio Quartulli <antonio@openvpn.net>
Wed, 4 Mar 2026 14:10:09 +0000 (15:10 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Mar 2026 03:07:03 +0000 (19:07 -0800)
GENL_UNS_ADMIN_PERM may be required by protocols using
the `genetlink` family, however, this flag is currently
only allowed in `genetlink-legacy`.

Add it to the list of possible values in genetlink.yaml too.

Cc: Simon Horman <horms@kernel.org>
Cc: Donald Hunter <donald.hunter@gmail.com>
Link: https://github.com/OpenVPN/ovpn-net-next/issues/33
Suggested-by: Ralf Lici <ralf@mandelbit.com>
Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
Link: https://patch.msgid.link/20260304141020.23270-1-antonio@openvpn.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/genetlink.yaml

index b020a537d8acdbcaee0e9b62aa4cef009ea9bb59..a1194d5d93fc3c5e46df64e6e13c5ac1467e21be 100644 (file)
@@ -262,7 +262,7 @@ properties:
               description: Command flags.
               type: array
               items:
-                enum: [ admin-perm ]
+                enum: [ admin-perm, uns-admin-perm ]
             dont-validate:
               description: Kernel attribute validation flags.
               type: array