linux/Documentation/netlink/specs
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
..
binder.yaml netlink: specs: binder: replace underscores with dashes in names 2025-08-21 16:49:38 +02:00
conntrack.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-18 11:26:06 -07:00
devlink.yaml devlink: Make health reporter burst period configurable 2025-08-26 17:24:16 -07:00
dpll.yaml dpll: spec: add missing module-name and clock-id to pin-get reply 2025-10-27 18:20:36 -07:00
ethtool.yaml Revert "Documentation: net: add flow control guide and document ethtool API" 2025-10-01 09:48:21 +02:00
fou.yaml fou: Don't allow 0 for FOU_ATTR_IPPROTO. 2026-01-30 10:32:12 +01:00
handshake.yaml net/handshake: Add new parameter 'HANDSHAKE_A_ACCEPT_KEYRING' 2025-07-08 15:31:44 +02:00
index.rst docs: netlink: index.rst: add a netlink index file 2025-08-12 07:47:30 +02:00
lockd.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
mptcp_pm.yaml mptcp: pm: netlink: deprecate server-side attribute 2025-09-22 11:51:24 -07:00
net_shaper.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
netdev.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
nfsd.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-06-26 10:40:50 -07:00
nftables.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
nl80211.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
nlctrl.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
ovpn.yaml Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-07-17 11:00:33 -07:00
ovs_datapath.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
ovs_flow.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
ovs_vport.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
psp.yaml net: psp: add socket security association code 2025-09-18 12:32:06 +02:00
rt-addr.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
rt-link.yaml rtnetlink: add needed_{head,tail}room attributes 2025-09-19 17:21:55 -07:00
rt-neigh.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
rt-route.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
rt-rule.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
tc.yaml netlink: specs: explicitly declare block scalar strings 2025-09-15 18:27:19 -07:00
tcp_metrics.yaml netlink: specs: clean up spaces in brackets 2025-06-11 14:01:19 -07:00
team.yaml netlink: specs: team: avoid mangling multilines doc 2025-09-15 18:27:19 -07:00