aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-07-22 10:48:34 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-08-01 12:00:51 +0200
commitf2e3778db7e13fd9a83c309dd8c9fbe69ba8efbe (patch)
tree6dd7423f111b5ca94e3d41397cb42e8e14837260 /include/net/net_namespace.h
parentnetfilter: ipt_CLUSTERIP: use clusterip_net to store pernet warning (diff)
downloadlinux-dev-f2e3778db7e13fd9a83c309dd8c9fbe69ba8efbe.tar.xz
linux-dev-f2e3778db7e13fd9a83c309dd8c9fbe69ba8efbe.zip
netfilter: remove xt pernet data
clusterip is now handled via net_generic. NOTRACK is tiny compared to rest of xt_CT feature set, even the existing deprecation warning is bigger than the actual functionality. Just remove the warning, its not worth keeping/adding a net_generic one. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index cc54750dd3db..bb5fa5914032 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -23,7 +23,6 @@
#include <net/netns/ieee802154_6lowpan.h>
#include <net/netns/sctp.h>
#include <net/netns/netfilter.h>
-#include <net/netns/x_tables.h>
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
#include <net/netns/conntrack.h>
#endif
@@ -133,7 +132,6 @@ struct net {
#endif
#ifdef CONFIG_NETFILTER
struct netns_nf nf;
- struct netns_xt xt;
#if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE)
struct netns_ct ct;
#endif