]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nf_tables: use the correct get/put helpers
authorFlorian Westphal <fw@strlen.de>
Thu, 23 Jun 2022 13:05:11 +0000 (15:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:56:24 +0000 (16:56 +0000)
commita48f6be5bdb76b0d54b0b341ec87072d340072fe
tree5659a7fb29a7eb5cd4fb2375c201dbb61b6be89e
parent7d3901bf3baa7a5219f4ff79bff4721f465bf4f1
netfilter: nf_tables: use the correct get/put helpers

[ Upstream commit d86473bf2ff39c05d4a6701c8aec66a16af0d410 ]

Switch to be16/32 and u16/32 respectively.  No code changes here,
the functions do the same thing, this is just for sparse checkers' sake.

objdiff shows no changes.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: c301f0981fdd ("netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nft_byteorder.c
net/netfilter/nft_osf.c
net/netfilter/nft_socket.c
net/netfilter/nft_xfrm.c