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

From: Jakub Kicinski

Date: Fri Sep 11 2026 - 20:41:15 EST


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:
> > 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