提交 2fa7527b 编写于 作者: S Stephen Hemminger 提交者: 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: NStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1294fc4a
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册