HomeFreeBSD

bhyve: avoid a potential deadlock

Description

bhyve: avoid a potential deadlock

This unlocks a mutex in an error path, that would otherwise remain locked and
potentially cause a deadlock later on.

Reported by: Coverity Scan
CID: 1521334
Reviewed by: corvink, markj
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45401

Details

Provenance
khorben_defora.orgAuthored on Aug 5 2024, 7:46 AM
corvinkCommitted on Aug 5 2024, 7:48 AM
Reviewer
corvink
Differential Revision
D45401: bhyve: avoid a potential deadlock
Parents
rGacb4cb33d358: vm_pageout: simplify pageout_cluster
Branches
Unknown
Tags
Unknown