FreeBSD/src 5c2b348 (r349175)usr.sbin/bhyve pci_virtio_net.c

bhyve: vtnet: fix locking on receive

The vsc_rx_ready and the RX virtqueue is protected by the rx_mtx lock.
However, pci_vtnet_ping_rxq() (currently called only once after each
device reset) accesses those without acquiring the lock.

Reviewed by:    markj
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D20609
DeltaFile
+2-0usr.sbin/bhyve/pci_virtio_net.c
+2-01 files

UnifiedSplitRaw