Destroy global tapmtx when the if_tap module is unloaded.
RELENG_5 candidated.
This commit is contained in:
parent
abd627ebb7
commit
6874bcf242
@ -202,6 +202,8 @@ tapmodevent(mod, type, data)
|
||||
mtx_unlock(&tapmtx);
|
||||
clone_cleanup(&tapclones);
|
||||
|
||||
mtx_destroy(&tapmtx);
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user