mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Add missing lock destructor invocations to the LinuxKPI unload handler.
MFC after: 1 week
This commit is contained in:
parent
9b6197df69
commit
47d8a7d4d1
1 changed files with 2 additions and 0 deletions
|
|
@ -2026,6 +2026,8 @@ linux_compat_uninit(void *arg)
|
|||
linux_kobject_kfree_name(&linux_root_device.kobj);
|
||||
linux_kobject_kfree_name(&linux_class_misc.kobj);
|
||||
|
||||
mtx_destroy(&vmmaplock);
|
||||
spin_lock_destroy(&pci_lock);
|
||||
rw_destroy(&linux_vma_lock);
|
||||
}
|
||||
SYSUNINIT(linux_compat, SI_SUB_DRIVERS, SI_ORDER_SECOND, linux_compat_uninit, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue