Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / net / ipv4 / sysctl_net_ipv4.c
index 3b09153..334b6ff 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/sysctl.h>
+#include <linux/config.h>
 #include <linux/igmp.h>
 #include <linux/inetdevice.h>
 #include <net/snmp.h>
@@ -180,6 +181,14 @@ ctl_table ipv4_table[] = {
                .proc_handler   = &ipv4_doint_and_flush,
                .strategy       = &ipv4_doint_and_flush_strategy,
        },
+        {
+               .ctl_name       = NET_IPV4_AUTOCONFIG,
+               .procname       = "ip_autoconfig",
+               .data           = &ipv4_config.autoconfig,
+               .maxlen         = sizeof(int),
+               .mode           = 0644,
+               .proc_handler   = &proc_dointvec
+       },
         {
                .ctl_name       = NET_IPV4_NO_PMTU_DISC,
                .procname       = "ip_no_pmtu_disc",
@@ -722,24 +731,6 @@ ctl_table ipv4_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec
        },
-#ifdef CONFIG_NET_DMA
-       {
-               .ctl_name       = NET_TCP_DMA_COPYBREAK,
-               .procname       = "tcp_dma_copybreak",
-               .data           = &sysctl_tcp_dma_copybreak,
-               .maxlen         = sizeof(int),
-               .mode           = 0644,
-               .proc_handler   = &proc_dointvec
-       },
-#endif
-       {
-               .ctl_name       = NET_TCP_SLOW_START_AFTER_IDLE,
-               .procname       = "tcp_slow_start_after_idle",
-               .data           = &sysctl_tcp_slow_start_after_idle,
-               .maxlen         = sizeof(int),
-               .mode           = 0644,
-               .proc_handler   = &proc_dointvec
-       },
        { .ctl_name = 0 }
 };