mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Add missing ng_uncallout() on node shutdown.
Approved by: glebius (mentor)
This commit is contained in:
parent
ef481c345f
commit
df01e68922
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170661
@ -497,6 +497,8 @@ ng_car_shutdown(node_p node)
|
||||
{
|
||||
const priv_p priv = NG_NODE_PRIVATE(node);
|
||||
|
||||
ng_uncallout(&priv->upper.q_callout, node);
|
||||
ng_uncallout(&priv->lower.q_callout, node);
|
||||
mtx_destroy(&priv->upper.q_mtx);
|
||||
mtx_destroy(&priv->lower.q_mtx);
|
||||
NG_NODE_UNREF(priv->node);
|
||||
|
Loading…
Reference in New Issue
Block a user