mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
[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>
This commit is contained in:
committed by
David S. Miller
parent
7e2e109cef
commit
33eb9cfc70
@@ -31,12 +31,6 @@
|
||||
#endif
|
||||
|
||||
struct ctl_table net_table[] = {
|
||||
{
|
||||
.ctl_name = NET_CORE,
|
||||
.procname = "core",
|
||||
.mode = 0555,
|
||||
.child = core_table,
|
||||
},
|
||||
#ifdef CONFIG_INET
|
||||
{
|
||||
.ctl_name = NET_IPV4,
|
||||
|
Reference in New Issue
Block a user