diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-05 12:35:48 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-06-07 08:58:41 -0400 |
commit | e76d0af5e45f4152e3fdcc103b753a8aff93fcb5 (patch) | |
tree | 2032968036adb8a275280b510997e746891fb643 /include | |
parent | 4f71d80fc00a8c8859329ff282167fd4549b2b9f (diff) |
netfilter: nf_conntrack: remove now unused sysctl for nf_conntrack_l[3|4]proto
Since the sysctl data for l[3|4]proto now resides in pernet nf_proto_net.
We can now remove this unused fields from struct nf_contrack_l[3,4]proto.
Acked-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netfilter/nf_conntrack_l3proto.h | 2 | ||||
-rw-r--r-- | include/net/netfilter/nf_conntrack_l4proto.h | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/include/net/netfilter/nf_conntrack_l3proto.h b/include/net/netfilter/nf_conntrack_l3proto.h index d6df8c71a7fe..6f7c13f4ac03 100644 --- a/include/net/netfilter/nf_conntrack_l3proto.h +++ b/include/net/netfilter/nf_conntrack_l3proto.h | |||
@@ -64,9 +64,7 @@ struct nf_conntrack_l3proto { | |||
64 | size_t nla_size; | 64 | size_t nla_size; |
65 | 65 | ||
66 | #ifdef CONFIG_SYSCTL | 66 | #ifdef CONFIG_SYSCTL |
67 | struct ctl_table_header *ctl_table_header; | ||
68 | const char *ctl_table_path; | 67 | const char *ctl_table_path; |
69 | struct ctl_table *ctl_table; | ||
70 | #endif /* CONFIG_SYSCTL */ | 68 | #endif /* CONFIG_SYSCTL */ |
71 | 69 | ||
72 | /* Init l3proto pernet data */ | 70 | /* Init l3proto pernet data */ |
diff --git a/include/net/netfilter/nf_conntrack_l4proto.h b/include/net/netfilter/nf_conntrack_l4proto.h index d621c91de5c8..cfa2f89b031d 100644 --- a/include/net/netfilter/nf_conntrack_l4proto.h +++ b/include/net/netfilter/nf_conntrack_l4proto.h | |||
@@ -94,16 +94,6 @@ struct nf_conntrack_l4proto { | |||
94 | const struct nla_policy *nla_policy; | 94 | const struct nla_policy *nla_policy; |
95 | } ctnl_timeout; | 95 | } ctnl_timeout; |
96 | #endif | 96 | #endif |
97 | |||
98 | #ifdef CONFIG_SYSCTL | ||
99 | struct ctl_table_header **ctl_table_header; | ||
100 | struct ctl_table *ctl_table; | ||
101 | unsigned int *ctl_table_users; | ||
102 | #ifdef CONFIG_NF_CONNTRACK_PROC_COMPAT | ||
103 | struct ctl_table_header *ctl_compat_table_header; | ||
104 | struct ctl_table *ctl_compat_table; | ||
105 | #endif | ||
106 | #endif | ||
107 | int *net_id; | 97 | int *net_id; |
108 | /* Init l4proto pernet data */ | 98 | /* Init l4proto pernet data */ |
109 | int (*init_net)(struct net *net); | 99 | int (*init_net)(struct net *net); |