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>
This commit is contained in:
committed by
David S. Miller
parent
e0e33280fe
commit
3ee943728f
@@ -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
|
||||
|
Reference in New Issue
Block a user