mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
vm: Plug umtx shm object leak.
Reviewed by: kib Approved by: oshogbo MFC after: 1 week Sponsored by: Fudo Security Differential Revision: https://reviews.freebsd.org/D43073
This commit is contained in:
parent
ca39f23347
commit
6f3e9bac4d
|
@ -1995,6 +1995,7 @@ vm_object_collapse(vm_object_t object)
|
|||
backing_object));
|
||||
vm_object_pip_wakeup(backing_object);
|
||||
(void)refcount_release(&backing_object->ref_count);
|
||||
umtx_shm_object_terminated(backing_object);
|
||||
vm_object_terminate(backing_object);
|
||||
counter_u64_add(object_collapses, 1);
|
||||
VM_OBJECT_WLOCK(object);
|
||||
|
|
Loading…
Reference in a new issue