[BACK]Return to route.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / net

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/net/route.c between version 1.211 and 1.212

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);

Legend:
Removed from v.1.211  
changed lines
  Added in v.1.212

CVSweb <webmaster@jp.NetBSD.org>