git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
net
/
sysctl_net.c
diff --git
a/net/sysctl_net.c
b/net/sysctl_net.c
index
3f6e310
..
58a1b6b
100644
(file)
--- a/
net/sysctl_net.c
+++ b/
net/sysctl_net.c
@@
-16,18
+16,18
@@
#include <linux/mm.h>
#include <linux/sysctl.h>
#include <linux/mm.h>
#include <linux/sysctl.h>
+#include <net/sock.h>
+
#ifdef CONFIG_INET
#ifdef CONFIG_INET
-extern struct ctl_table ipv4_table[];
+#include <net/ip.h>
#endif
#endif
-extern struct ctl_table core_table[];
-
#ifdef CONFIG_NET
#ifdef CONFIG_NET
-extern struct ctl_table ether_table[];
+#include <linux/if_ether.h>
#endif
#ifdef CONFIG_TR
#endif
#ifdef CONFIG_TR
-extern struct ctl_table tr_table[];
+#include <linux/if_tr.h>
#endif
struct ctl_table net_table[] = {
#endif
struct ctl_table net_table[] = {
@@
-37,14
+37,6
@@
struct ctl_table net_table[] = {
.mode = 0555,
.child = core_table,
},
.mode = 0555,
.child = core_table,
},
-#ifdef CONFIG_NET
- {
- .ctl_name = NET_ETHER,
- .procname = "ethernet",
- .mode = 0555,
- .child = ether_table,
- },
-#endif
#ifdef CONFIG_INET
{
.ctl_name = NET_IPV4,
#ifdef CONFIG_INET
{
.ctl_name = NET_IPV4,