HomeFreeBSD

[bhyve] virtio-net: Do not allow receiving packets until features have been…

Description

[bhyve] virtio-net: Do not allow receiving packets until features have been negotiated.

Enforce the requirement that the RX callback cannot be called after a reset until the features have been negotiated.
This fixes a race condition where the receive callback is called during a device reset.

Reviewed by: vmaffione, grehan
Approved by: vmaffione (mentor)
Sponsored by: vstack.com
Differential Revision: https://reviews.freebsd.org/D27381

Details

Provenance
afedorovAuthored on Dec 17 2020, 4:52 PM
Parents
rG10720ae4db10: bsdinstall: remove VTOC8 partition scheme option
Branches
Unknown
Tags
Unknown

Event Timeline