aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns/nftables.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-04-01 16:11:14 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-04-06 00:34:53 +0200
commitdb3685b4046f8b629bbf73caa33751ce567ea8ff (patch)
treea7294c478cc84557f51b0e8779e825dd14239d54 /include/net/netns/nftables.h
parentnetfilter: conntrack: move ecache dwork to net_generic infra (diff)
downloadlinux-dev-db3685b4046f8b629bbf73caa33751ce567ea8ff.tar.xz
linux-dev-db3685b4046f8b629bbf73caa33751ce567ea8ff.zip
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/nftables.h')
-rw-r--r--include/net/netns/nftables.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/net/netns/nftables.h b/include/net/netns/nftables.h
index 6c0806bd8d1e..8c77832d0240 100644
--- a/include/net/netns/nftables.h
+++ b/include/net/netns/nftables.h
@@ -5,14 +5,7 @@
#include <linux/list.h>
struct netns_nftables {
- struct list_head tables;
- struct list_head commit_list;
- struct list_head module_list;
- struct list_head notify_list;
- struct mutex commit_mutex;
- unsigned int base_seq;
u8 gencursor;
- u8 validate_state;
};
#endif