Commit 2fa7527ba1d38175d1e42f7cb72bae5de3d55cc7

Authored by Stephen Hemminger
Committed by David S. Miller
1 parent 1294fc4a48

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>

Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff

... ... @@ -3058,7 +3058,9 @@
3058 3058 devinet_init();
3059 3059 ip_fib_init();
3060 3060  
3061   - setup_timer(&rt_secret_timer, rt_secret_rebuild, 0);
  3061 + rt_secret_timer.function = rt_secret_rebuild;
  3062 + rt_secret_timer.data = 0;
  3063 + init_timer_deferrable(&rt_secret_timer);
3062 3064  
3063 3065 /* All the timers, started at system startup tend
3064 3066 to synchronize. Perturb it a bit.