HomeFreeBSD

MFC r349175

Description

MFC r349175

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
Differential Revision: https://reviews.freebsd.org/D20609

Details

Provenance
vmaffioneAuthored on
Reviewer
markj
Differential Revision
D20609: bhyve: vtnet: fix locking on receive
Parents
rS349695: MFC r349019
Branches
Unknown
Tags
Unknown