Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106189580
D45401.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
455 B
Referenced Files
None
Subscribers
None
D45401.diff
View Options
diff --git a/usr.sbin/bhyve/tpm_intf_crb.c b/usr.sbin/bhyve/tpm_intf_crb.c
--- a/usr.sbin/bhyve/tpm_intf_crb.c
+++ b/usr.sbin/bhyve/tpm_intf_crb.c
@@ -348,8 +348,10 @@
pthread_mutex_lock(&crb->mutex);
tpm_crb_mmiocpy(&start, val, size);
- if (!start.start || crb->regs.ctrl_start.start)
+ if (!start.start || crb->regs.ctrl_start.start) {
+ pthread_mutex_unlock(&crb->mutex);
break;
+ }
crb->regs.ctrl_start.start = true;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 9:09 PM (7 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15617657
Default Alt Text
D45401.diff (455 B)
Attached To
Mode
D45401: bhyve: avoid a potential deadlock
Attached
Detach File
Event Timeline
Log In to Comment