Commit 2fa7527b authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

IPV4: route rekey timer can be deferrable

No urgency on the rehash interval timer, so mark it as deferrable.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1294fc4a
...@@ -3058,7 +3058,9 @@ int __init ip_rt_init(void) ...@@ -3058,7 +3058,9 @@ int __init ip_rt_init(void)
devinet_init(); devinet_init();
ip_fib_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 /* All the timers, started at system startup tend
to synchronize. Perturb it a bit. to synchronize. Perturb it a bit.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment