From: Florian Westphal Date: Fri, 28 May 2021 10:30:04 +0000 (+0200) Subject: netfilter: reduce size of nf_hook_state on 32bit platforms X-Git-Tag: v5.15~843^2~373^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6802db48fc27b8d7f601e96a85771f2205702941;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Pablo Neira Ayuso --- diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h index f0f3a83..f161569fb 100644 --- a/include/linux/netfilter.h +++ b/include/linux/netfilter.h @@ -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;