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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 11 Jul 2022 14:40:46 +0000 (16:40 +0200)
commit7278b3c1e4ebf6f9c4cda07600f19824857c81fe
tree05aeca70e2c41695b8264e10d6ddc22fee50c3a7
parentd86473bf2ff39c05d4a6701c8aec66a16af0d410
netfilter: nf_tables: add and use BE register load-store helpers

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