[NET]: net.ipv4.ip_autoconfig sysctl removal
authorStephen Hemminger <shemminger@osdl.org>
Mon, 12 Jun 2006 04:20:38 +0000 (21:20 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:30:30 +0000 (21:30 -0700)
The sysctl net.ipv4.ip_autoconfig is a legacy value that is not used.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/sysctl_net_ipv4.c

index 3d2e5ca62a5af1c8ba234523d9886380d7d90564..ead233c9540dca1374a4dcf9c12b9e2765cb0e9a 100644 (file)
@@ -147,7 +147,6 @@ void ip_send_reply(struct sock *sk, struct sk_buff *skb, struct ip_reply_arg *ar
 struct ipv4_config
 {
        int     log_martians;
-       int     autoconfig;
        int     no_pmtu_disc;
 };
 
index 6a6aa537b7aaa84320c85556002f47add37d8287..e7fb665873c68526686b18fca76ba25db3271993 100644 (file)
@@ -181,14 +181,6 @@ 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",