[RFC PATCH net-next 8/8] netlink: specs: rt-link: fix netkit-policy names
From: Asbjørn Sloth Tønnesen
Date: Thu Sep 10 2026 - 18:25:38 EST
Correct the names of these `enum netkit_action` constants:
- NETKIT_PASS is 0, so "pass", not "forward".
- NETKIT_DROP is 2, so "drop", not "blackhole".
Note, the other enum members are not used in netlink, and
are not allowed by netkit_check_policy().
Signed-off-by: Asbjørn Sloth Tønnesen <ast@xxxxxxxxxxx>
---
Documentation/netlink/specs/rt-link.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/netlink/specs/rt-link.yaml b/Documentation/netlink/specs/rt-link.yaml
index 6639b7f5677b..fe52d508d607 100644
--- a/Documentation/netlink/specs/rt-link.yaml
+++ b/Documentation/netlink/specs/rt-link.yaml
@@ -827,10 +827,10 @@ definitions:
name-prefix: netkit-
entries:
-
- name: forward
+ name: pass
value: 0
-
- name: blackhole
+ name: drop
value: 2
-
name: netkit-mode
--
2.55.0