mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
[IPV4]: Use ctl paths to register net/ipv4/ table
This is the same as I did for the net/core/ table in the second patch in his series: use the paths and isolate the whole table in the .c file. 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
9ba6397976
commit
3e37c3f997
@@ -31,14 +31,6 @@
|
||||
#endif
|
||||
|
||||
struct ctl_table net_table[] = {
|
||||
#ifdef CONFIG_INET
|
||||
{
|
||||
.ctl_name = NET_IPV4,
|
||||
.procname = "ipv4",
|
||||
.mode = 0555,
|
||||
.child = ipv4_table
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_TR
|
||||
{
|
||||
.ctl_name = NET_TR,
|
||||
|
Reference in New Issue
Block a user