diff options
author | Eric Dumazet <edumazet@google.com> | 2012-07-30 03:14:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-30 17:53:22 -0400 |
commit | 0c7462a2351b4cc502f326aad7fedd04909928be (patch) | |
tree | 0f60f604b836d310d7a587b701232870d00f3446 /net/ipv4 | |
parent | 404e0a8b6a55d5e1cd138c6deb1bca9abdf75d8c (diff) |
ipv4: remove rt_cache_rebuild_count
After IP route cache removal, rt_cache_rebuild_count is no longer
used.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 5840c3255721..4b6487a68279 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c | |||
@@ -784,13 +784,6 @@ static struct ctl_table ipv4_net_table[] = { | |||
784 | .proc_handler = proc_dointvec | 784 | .proc_handler = proc_dointvec |
785 | }, | 785 | }, |
786 | { | 786 | { |
787 | .procname = "rt_cache_rebuild_count", | ||
788 | .data = &init_net.ipv4.sysctl_rt_cache_rebuild_count, | ||
789 | .maxlen = sizeof(int), | ||
790 | .mode = 0644, | ||
791 | .proc_handler = proc_dointvec | ||
792 | }, | ||
793 | { | ||
794 | .procname = "ping_group_range", | 787 | .procname = "ping_group_range", |
795 | .data = &init_net.ipv4.sysctl_ping_group_range, | 788 | .data = &init_net.ipv4.sysctl_ping_group_range, |
796 | .maxlen = sizeof(init_net.ipv4.sysctl_ping_group_range), | 789 | .maxlen = sizeof(init_net.ipv4.sysctl_ping_group_range), |
@@ -829,8 +822,6 @@ static __net_init int ipv4_sysctl_init_net(struct net *net) | |||
829 | table[5].data = | 822 | table[5].data = |
830 | &net->ipv4.sysctl_icmp_ratemask; | 823 | &net->ipv4.sysctl_icmp_ratemask; |
831 | table[6].data = | 824 | table[6].data = |
832 | &net->ipv4.sysctl_rt_cache_rebuild_count; | ||
833 | table[7].data = | ||
834 | &net->ipv4.sysctl_ping_group_range; | 825 | &net->ipv4.sysctl_ping_group_range; |
835 | 826 | ||
836 | } | 827 | } |
@@ -842,8 +833,6 @@ static __net_init int ipv4_sysctl_init_net(struct net *net) | |||
842 | net->ipv4.sysctl_ping_group_range[0] = 1; | 833 | net->ipv4.sysctl_ping_group_range[0] = 1; |
843 | net->ipv4.sysctl_ping_group_range[1] = 0; | 834 | net->ipv4.sysctl_ping_group_range[1] = 0; |
844 | 835 | ||
845 | net->ipv4.sysctl_rt_cache_rebuild_count = 4; | ||
846 | |||
847 | tcp_init_mem(net); | 836 | tcp_init_mem(net); |
848 | 837 | ||
849 | net->ipv4.ipv4_hdr = register_net_sysctl(net, "net/ipv4", table); | 838 | net->ipv4.ipv4_hdr = register_net_sysctl(net, "net/ipv4", table); |