Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110018190
D20609.id58770.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
456 B
Referenced Files
None
Subscribers
None
D20609.id58770.diff
View Options
Index: head/usr.sbin/bhyve/pci_virtio_net.c
===================================================================
--- head/usr.sbin/bhyve/pci_virtio_net.c
+++ head/usr.sbin/bhyve/pci_virtio_net.c
@@ -583,10 +583,12 @@
/*
* A qnotify means that the rx process can now begin
*/
+ pthread_mutex_lock(&sc->rx_mtx);
if (sc->vsc_rx_ready == 0) {
sc->vsc_rx_ready = 1;
vq_kick_disable(vq);
}
+ pthread_mutex_unlock(&sc->rx_mtx);
}
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 13, 1:36 PM (16 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16628314
Default Alt Text
D20609.id58770.diff (456 B)
Attached To
Mode
D20609: bhyve: vtnet: fix locking on receive
Attached
Detach File
Event Timeline
Log In to Comment