summaryrefslogtreecommitdiffstats
path: root/include/net/netns/ipv4.h
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2010-05-08 01:57:52 -0700
committerDavid S. Miller <davem@davemloft.net>2010-05-08 01:57:52 -0700
commit3ee943728fff536edaf8f59faa58aaa1aa7366e3 (patch)
tree98ab529c1be1e4cb4b291c9d4c9fc9dba678967e /include/net/netns/ipv4.h
parente0e33280fedcfa9dd70a54085c4d44d9d53b788f (diff)
downloadop-kernel-dev-3ee943728fff536edaf8f59faa58aaa1aa7366e3.zip
op-kernel-dev-3ee943728fff536edaf8f59faa58aaa1aa7366e3.tar.gz
ipv4: remove ip_rt_secret timer (v4)
A while back there was a discussion regarding the rt_secret_interval timer. Given that we've had the ability to do emergency route cache rebuilds for awhile now, based on a statistical analysis of the various hash chain lengths in the cache, the use of the flush timer is somewhat redundant. This patch removes the rt_secret_interval sysctl, allowing us to rely solely on the statistical analysis mechanism to determine the need for route cache flushes. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns/ipv4.h')
-rw-r--r--include/net/netns/ipv4.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h
index ae07fee..d68c3f1 100644
--- a/include/net/netns/ipv4.h
+++ b/include/net/netns/ipv4.h
@@ -55,7 +55,6 @@ struct netns_ipv4 {
int sysctl_rt_cache_rebuild_count;
int current_rt_cache_rebuild_count;
- struct timer_list rt_secret_timer;
atomic_t rt_genid;
#ifdef CONFIG_IP_MROUTE
OpenPOWER on IntegriCloud