diff options
author | Florian Westphal <fw@strlen.de> | 2021-04-01 17:11:14 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-04-06 01:34:53 +0300 |
commit | db3685b4046f8b629bbf73caa33751ce567ea8ff (patch) | |
tree | a7294c478cc84557f51b0e8779e825dd14239d54 /include/net/netns/netfilter.h | |
parent | 1379940bf809ba643eb10950c932f72d0191aa43 (diff) | |
download | linux-db3685b4046f8b629bbf73caa33751ce567ea8ff.tar.xz |
net: remove obsolete members from struct net
all have been moved to generic_net infra. On x86_64, this reduces
struct net size from 70 to 63 cache lines (4480 to 4032 byte).
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netns/netfilter.h')
-rw-r--r-- | include/net/netns/netfilter.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/netns/netfilter.h b/include/net/netns/netfilter.h index ca043342c0eb..15e2b13fb0c0 100644 --- a/include/net/netns/netfilter.h +++ b/include/net/netns/netfilter.h @@ -28,11 +28,5 @@ struct netns_nf { #if IS_ENABLED(CONFIG_DECNET) struct nf_hook_entries __rcu *hooks_decnet[NF_DN_NUMHOOKS]; #endif -#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV4) - bool defrag_ipv4; -#endif -#if IS_ENABLED(CONFIG_NF_DEFRAG_IPV6) - bool defrag_ipv6; -#endif }; #endif |