diff options
author | Dave Voutila <dv@cvs.openbsd.org> | 2024-02-22 02:38:54 +0000 |
---|---|---|
committer | Dave Voutila <dv@cvs.openbsd.org> | 2024-02-22 02:38:54 +0000 |
commit | b5cee22ae3cd235136fec099cec4730d11fb0b14 (patch) | |
tree | 5bc4065492c76e7cc5a32b26a3bba1c49e2572bf /sys/netmpls | |
parent | d5b7f63e2c9002a6b3adf9a23372a3bae914ee3d (diff) |
vmd(8): only add vionet tap read events after a notify event.
My recent refactor introduced a bug where the vionet device will
add the tap(4) read event on an unpause regardless of driver and
device state, causing the cpu to peg as the read event fires
indefinitely because the guest's virtqueue isn't ready to receive
the data.
Add in a global flag that tracks if the rx-side is enabled or not
to coordinate adding the tap read event.
ok mlarkin@
Diffstat (limited to 'sys/netmpls')
0 files changed, 0 insertions, 0 deletions