]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: remove ip_rt_secret timer (v4)
authorNeil Horman <nhorman@tuxdriver.com>
Sat, 8 May 2010 08:57:52 +0000 (01:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 May 2010 08:57:52 +0000 (01:57 -0700)
commitc9887c9bf5ca37d9e3f88ab040839b2374e295e4
tree98ab529c1be1e4cb4b291c9d4c9fc9dba678967e
parent75cab7a07823e1056c8ac763629eb7d36f30a5ea
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>
include/net/netns/ipv4.h
kernel/sysctl_binary.c
net/ipv4/route.c