mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
e0e33280fe
commit
3ee943728f
3 changed files with 8 additions and 102 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue