|
@@ -828,7 +828,7 @@ out:
|
|
* ARP entry timeouts range from 1/2 BASE_REACHABLE_TIME to 3/2
|
|
* ARP entry timeouts range from 1/2 BASE_REACHABLE_TIME to 3/2
|
|
* BASE_REACHABLE_TIME.
|
|
* BASE_REACHABLE_TIME.
|
|
*/
|
|
*/
|
|
- schedule_delayed_work(&tbl->gc_work,
|
|
|
|
|
|
+ queue_delayed_work(system_power_efficient_wq, &tbl->gc_work,
|
|
NEIGH_VAR(&tbl->parms, BASE_REACHABLE_TIME) >> 1);
|
|
NEIGH_VAR(&tbl->parms, BASE_REACHABLE_TIME) >> 1);
|
|
write_unlock_bh(&tbl->lock);
|
|
write_unlock_bh(&tbl->lock);
|
|
}
|
|
}
|
|
@@ -1565,7 +1565,8 @@ static void neigh_table_init_no_netlink(struct neigh_table *tbl)
|
|
|
|
|
|
rwlock_init(&tbl->lock);
|
|
rwlock_init(&tbl->lock);
|
|
INIT_DEFERRABLE_WORK(&tbl->gc_work, neigh_periodic_work);
|
|
INIT_DEFERRABLE_WORK(&tbl->gc_work, neigh_periodic_work);
|
|
- schedule_delayed_work(&tbl->gc_work, tbl->parms.reachable_time);
|
|
|
|
|
|
+ queue_delayed_work(system_power_efficient_wq, &tbl->gc_work,
|
|
|
|
+ tbl->parms.reachable_time);
|
|
setup_timer(&tbl->proxy_timer, neigh_proxy_process, (unsigned long)tbl);
|
|
setup_timer(&tbl->proxy_timer, neigh_proxy_process, (unsigned long)tbl);
|
|
skb_queue_head_init_class(&tbl->proxy_queue,
|
|
skb_queue_head_init_class(&tbl->proxy_queue,
|
|
&neigh_table_proxy_queue_class);
|
|
&neigh_table_proxy_queue_class);
|