aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-15 02:48:39 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:02:40 -0500
commit4f536522dae9d5326ad1872cd254ee84681cf563 (patch)
tree2aafc8f673a6b57c0f6e27e9e2e9a94a3dca11bf /net/ipv4
parent86c0bf4095b35b978540aa43b12840d138a0b376 (diff)
[NETFILTER]: kill nf_sysctl.c
Since there now is generic support for shared sysctl paths, the only remains are the net/netfilter and net/ipv4/netfilter paths. Move them to net/netfilter/core.c and net/ipv4/netfilter.c and kill nf_sysctl.c. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/ipv4/netfilter.c b/net/ipv4/netfilter.c
index 0ed843ed420a..63221553d26b 100644
--- a/net/ipv4/netfilter.c
+++ b/net/ipv4/netfilter.c
@@ -211,3 +211,13 @@ static void ipv4_netfilter_fini(void)
211 211
212module_init(ipv4_netfilter_init); 212module_init(ipv4_netfilter_init);
213module_exit(ipv4_netfilter_fini); 213module_exit(ipv4_netfilter_fini);
214
215#ifdef CONFIG_SYSCTL
216struct ctl_path nf_net_ipv4_netfilter_sysctl_path[] = {
217 { .procname = "net", .ctl_name = CTL_NET, },
218 { .procname = "ipv4", .ctl_name = NET_IPV4, },
219 { .procname = "netfilter", .ctl_name = NET_IPV4_NETFILTER, },
220 { }
221};
222EXPORT_SYMBOL_GPL(nf_net_ipv4_netfilter_sysctl_path);
223#endif /* CONFIG_SYSCTL */