Page MenuHomeFreeBSD

D20609.id58535.diff
No OneTemporary

D20609.id58535.diff

Index: usr.sbin/bhyve/pci_virtio_net.c
===================================================================
--- usr.sbin/bhyve/pci_virtio_net.c
+++ usr.sbin/bhyve/pci_virtio_net.c
@@ -582,10 +582,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

Mime Type
text/plain
Expires
Wed, Jul 22, 2:18 PM (8 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35366878
Default Alt Text
D20609.id58535.diff (441 B)

Event Timeline