version 1.211, 2018/07/12 02:26:04 |
version 1.212, 2018/09/05 02:49:09 |
Line 726 rt_free(struct rtentry *rt) |
|
Line 726 rt_free(struct rtentry *rt) |
|
} |
} |
|
|
mutex_enter(&rt_free_global.lock); |
mutex_enter(&rt_free_global.lock); |
rt_ref(rt); |
/* No need to add a reference here. */ |
SLIST_INSERT_HEAD(&rt_free_global.queue, rt, rt_free); |
SLIST_INSERT_HEAD(&rt_free_global.queue, rt, rt_free); |
if (!rt_free_global.enqueued) { |
if (!rt_free_global.enqueued) { |
workqueue_enqueue(rt_free_global.wq, &rt_free_global.wk, NULL); |
workqueue_enqueue(rt_free_global.wq, &rt_free_global.wk, NULL); |