diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-04-10 01:55:27 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-10 01:55:27 -0700 |
commit | 2fa7527ba1d38175d1e42f7cb72bae5de3d55cc7 (patch) | |
tree | 48de882ae62ab51871142e2d6477e5d94fc1908a /net | |
parent | 1294fc4a4868d7e83ff749597fbf4e9d5f4d1aa0 (diff) | |
download | linux-2fa7527ba1d38175d1e42f7cb72bae5de3d55cc7.tar.bz2 |
IPV4: route rekey timer can be deferrable
No urgency on the rehash interval timer, so mark it as deferrable.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/route.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 7cdd2bf88e0c..a1c5b8dbdfed 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -3058,7 +3058,9 @@ int __init ip_rt_init(void) devinet_init(); ip_fib_init(); - setup_timer(&rt_secret_timer, rt_secret_rebuild, 0); + rt_secret_timer.function = rt_secret_rebuild; + rt_secret_timer.data = 0; + init_timer_deferrable(&rt_secret_timer); /* All the timers, started at system startup tend to synchronize. Perturb it a bit. |