aboutsummaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2007-12-05 04:37:34 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:56:26 -0500
commit33eb9cfc700ae9ce621d47d6ca6d6b4ad7cd97f3 (patch)
treed5e3c0e9644249fa327c613571613c43ec474c6b /net/sysctl_net.c
parent7e2e109cef0d59abcb9aca8b82993e304ed8970c (diff)
[NET]: Isolate the net/core/ sysctl table
Using ctl paths we can put all the stuff, related to net/core/ sysctl table, into one file and remove all the references on it. As a good side effect this hides the "core_table" name from the global scope :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
-rw-r--r--net/sysctl_net.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/sysctl_net.c b/net/sysctl_net.c
index c50c793aa7f0..747fc55b28f1 100644
--- a/net/sysctl_net.c
+++ b/net/sysctl_net.c
@@ -31,12 +31,6 @@
31#endif 31#endif
32 32
33struct ctl_table net_table[] = { 33struct ctl_table net_table[] = {
34 {
35 .ctl_name = NET_CORE,
36 .procname = "core",
37 .mode = 0555,
38 .child = core_table,
39 },
40#ifdef CONFIG_INET 34#ifdef CONFIG_INET
41 { 35 {
42 .ctl_name = NET_IPV4, 36 .ctl_name = NET_IPV4,