]> git.itanic.dy.fi Git - linux-stable/commit
netfilter: nf_tables: mask out non-verdict bits when checking return value
authorFlorian Westphal <fw@strlen.de>
Wed, 11 Oct 2023 07:59:35 +0000 (09:59 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 18 Oct 2023 08:26:43 +0000 (10:26 +0200)
commit4d26ab0086aab2d77c54e54020e47737dc6ed165
treede6c60d84dce54f660d9cb4fcc25ed361f97eea9
parente15e5027106f3f6009d2fb46b3a1bb3d9e6a1b77
netfilter: nf_tables: mask out non-verdict bits when checking return value

nftables trace infra must mask out the non-verdict bit parts of the
return value, else followup changes that 'return errno << 8 | NF_STOLEN'
will cause breakage.

Signed-off-by: Florian Westphal <fw@strlen.de>
net/netfilter/nf_tables_core.c
net/netfilter/nf_tables_trace.c