Skip to content

Commit f7163c4

Browse files
Florian Westphalummakynes
authored andcommitted
netfilter: remove all xt_table anchors from struct net
No longer needed, table pointer arg is now passed via netfilter core. Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent ee177a5 commit f7163c4

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

include/net/netns/ipv4.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,6 @@ struct netns_ipv4 {
7676
struct inet_peer_base *peers;
7777
struct sock * __percpu *tcp_sk;
7878
struct fqdir *fqdir;
79-
#ifdef CONFIG_NETFILTER
80-
struct xt_table *iptable_filter;
81-
struct xt_table *iptable_mangle;
82-
struct xt_table *iptable_raw;
83-
struct xt_table *arptable_filter;
84-
#ifdef CONFIG_SECURITY
85-
struct xt_table *iptable_security;
86-
#endif
87-
struct xt_table *nat_table;
88-
#endif
8979

9080
u8 sysctl_icmp_echo_ignore_all;
9181
u8 sysctl_icmp_echo_enable_probe;

include/net/netns/ipv6.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,6 @@ struct netns_ipv6 {
6363
struct ipv6_devconf *devconf_dflt;
6464
struct inet_peer_base *peers;
6565
struct fqdir *fqdir;
66-
#ifdef CONFIG_NETFILTER
67-
struct xt_table *ip6table_filter;
68-
struct xt_table *ip6table_mangle;
69-
struct xt_table *ip6table_raw;
70-
#ifdef CONFIG_SECURITY
71-
struct xt_table *ip6table_security;
72-
#endif
73-
struct xt_table *ip6table_nat;
74-
#endif
7566
struct fib6_info *fib6_null_entry;
7667
struct rt6_info *ip6_null_entry;
7768
struct rt6_statistics *rt6_stats;

0 commit comments

Comments
 (0)