netfilter: reduce size of nf_hook_state on 32bit platforms

Reduce size from 28 to 24 bytes on 32bit platforms.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
Florian Westphal 2021-05-28 12:30:04 +02:00 committed by Pablo Neira Ayuso
parent 586d5a8bce
commit 6802db48fc

View File

@ -65,8 +65,8 @@ struct nf_hook_ops;
struct sock;
struct nf_hook_state {
unsigned int hook;
u_int8_t pf;
u8 hook;
u8 pf;
struct net_device *in;
struct net_device *out;
struct sock *sk;