Thread (12 messages) flat view 12 messages, 3 authors, 12h ago

Re: [PATCH net-next v2 1/5] vxlan: vnifilter: reject VNIs outside the 24-bit space

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-09-21 22:09:05
Also in: lkml

On Sat, 19 Sep 2026 00:21:30 +0000 netdev-bot+sashiko@kernel.org wrote:
The top-level nlmsg_parse() in vxlan_vnifilter_process() uses
vni_filter_policy, where the nest has no nested_policy pointer, and
lib/nlattr.c only recurses when pt->nested_policy is set:

static const struct nla_policy vni_filter_policy[VXLAN_VNIFILTER_MAX + 1] = {
	[VXLAN_VNIFILTER_ENTRY] = { .type = NLA_NESTED },
};
Sounds legit, please link it with NLA_POLICY_NESTED() as patch 1
in the series
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help