linux/Documentation/netlink
Kuniyuki Iwashima 9b75dff844 fou: Don't allow 0 for FOU_ATTR_IPPROTO.
[ Upstream commit 7a9bc9e3f4 ]

fou_udp_recv() has the same problem mentioned in the previous
patch.

If FOU_ATTR_IPPROTO is set to 0, skb is not freed by
fou_udp_recv() nor "resubmit"-ted in ip_protocol_deliver_rcu().

Let's forbid 0 for FOU_ATTR_IPPROTO.

Fixes: 23461551c0 ("fou: Support for foo-over-udp RX path")
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260115172533.693652-4-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-01-30 10:32:12 +01:00
..
specs fou: Don't allow 0 for FOU_ATTR_IPPROTO. 2026-01-30 10:32:12 +01:00
genetlink-c.yaml netlink: specs: allow header properties for attribute sets 2025-04-23 16:07:15 -07:00
genetlink-legacy.yaml tools: ynl: add ipv4-or-v6 display hint 2025-09-16 08:16:57 -07:00
genetlink.yaml netlink: specs: enforce strict naming of properties 2025-06-25 15:36:28 -07:00
netlink-raw.yaml netlink: specs: enforce strict naming of properties 2025-06-25 15:36:28 -07:00