Page MenuHomeFreeBSD

D45401.diff
No OneTemporary

D45401.diff

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

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)

Event Timeline