diff options
author | Wang Shanker <shankerwangmiao@gmail.com> | 2020-11-16 05:17:24 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-01 09:45:29 +0100 |
commit | f7583f02a538bdb6d5191e82bacc7b85a27d4b0a (patch) | |
tree | 2b6c4aeee36437fda2d9febc4f874a10ab838e17 /include/net | |
parent | netfilter: Remove unnecessary conversion to bool (diff) | |
download | linux-f7583f02a538bdb6d5191e82bacc7b85a27d4b0a.tar.xz linux-f7583f02a538bdb6d5191e82bacc7b85a27d4b0a.zip |
netfilter: nfnl_acct: remove data from struct net
This patch removes nfnl_acct_list from struct net to reduce the default
memory footprint for the netns structure.
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/net_namespace.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index 22bc07f4b043..dc20a47e3828 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -151,9 +151,6 @@ struct net { #endif struct sock *nfnl; struct sock *nfnl_stash; -#if IS_ENABLED(CONFIG_NETFILTER_NETLINK_ACCT) - struct list_head nfnl_acct_list; -#endif #if IS_ENABLED(CONFIG_NF_CT_NETLINK_TIMEOUT) struct list_head nfct_timeout_list; #endif |