Thread (18 messages) flat view 18 messages, 6 authors, 5d ago

Re: [PATCH net-next 04/10] netlink: specs: rt-link: fix netkit-policy names

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-09-12 00:36:50
Also in: lkml

On Fri, 11 Sep 2026 15:26:29 -0700 Jakub Kicinski wrote:
On Fri, 11 Sep 2026 21:41:30 +0000 Asbjørn Sloth Tønnesen wrote:
quoted
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().  
Looks right tho may be intentional, so the other option would be to add
#define aliases for the spec names.
Ah, looks like some of the selftests use "forward" by name
You'll have to fix those
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help