]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nf_tables: add and use BE register load-store helpers
authorFlorian Westphal <fw@strlen.de>
Thu, 23 Jun 2022 13:05:12 +0000 (15:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:56:24 +0000 (16:56 +0000)
commit25da0f582119eee67334c942c61a5570618d0701
treeb7acc9e7a1f294b5f17b13d0423bd3355e430c22
parenta48f6be5bdb76b0d54b0b341ec87072d340072fe
netfilter: nf_tables: add and use BE register load-store helpers

[ Upstream commit 7278b3c1e4ebf6f9c4cda07600f19824857c81fe ]

Same as the existing ones, no conversions. This is just for sparse sake
only so that we no longer mix be16/u16 and be32/u32 types.

Alternative is to add __force __beX in various places, but this
seems nicer.

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>
include/net/netfilter/nf_tables.h
net/bridge/netfilter/nft_meta_bridge.c
net/netfilter/nft_tproxy.c