mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
Destroy global tapmtx when the if_tap module is unloaded.
RELENG_5 candidated.
This commit is contained in:
parent
abd627ebb7
commit
6874bcf242
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135354
|
@ -202,6 +202,8 @@ tapmodevent(mod, type, data)
|
|||
mtx_unlock(&tapmtx);
|
||||
clone_cleanup(&tapclones);
|
||||
|
||||
mtx_destroy(&tapmtx);
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue