mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 05:36:10 +00:00
Call bpfdetach() before going away.
This commit is contained in:
parent
5431b20654
commit
382379f8a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58412
|
@ -765,6 +765,7 @@ ng_iface_rmnode(node_p node)
|
|||
|
||||
ng_cutlinks(node);
|
||||
ng_unname(node);
|
||||
bpfdetach(priv->ifp);
|
||||
if_detach(priv->ifp);
|
||||
priv->ifp = NULL;
|
||||
ng_iface_free_unit(priv->unit);
|
||||
|
|
Loading…
Reference in a new issue