Aleksandr Fedorov ea57b2d7a8 [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
2020-12-17 16:52:40 +00:00
..
2018-06-14 01:34:53 +00:00
2018-06-13 03:22:08 +00:00
2018-06-13 03:22:08 +00:00
2018-06-14 01:34:53 +00:00
2018-06-13 03:22:08 +00:00
2020-08-23 20:37:21 +00:00
2018-06-14 01:34:53 +00:00
2018-06-13 03:22:08 +00:00
2018-06-13 03:22:08 +00:00
2020-11-28 03:54:48 +00:00
2018-06-13 03:22:08 +00:00
2018-06-13 03:22:08 +00:00
2018-06-14 01:34:53 +00:00
2018-06-14 01:34:53 +00:00
2018-06-13 03:22:08 +00:00
2018-06-13 03:22:08 +00:00
2018-06-13 03:22:08 +00:00
2018-06-14 01:34:53 +00:00