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:
parent
586d5a8bce
commit
6802db48fc
@ -65,8 +65,8 @@ struct nf_hook_ops;
|
|||||||
struct sock;
|
struct sock;
|
||||||
|
|
||||||
struct nf_hook_state {
|
struct nf_hook_state {
|
||||||
unsigned int hook;
|
u8 hook;
|
||||||
u_int8_t pf;
|
u8 pf;
|
||||||
struct net_device *in;
|
struct net_device *in;
|
||||||
struct net_device *out;
|
struct net_device *out;
|
||||||
struct sock *sk;
|
struct sock *sk;
|
||||||
|
Loading…
Reference in New Issue
Block a user