CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/09/22 17:29:58
Modified files:
usr.sbin/vmd : vionet.c
Log message:
vmd(8): drop packets if tap(4) returns ENOMEM.
If there are no mbufs available to queue a packet on write(2), we
should drop the packet instead of toggling the device reset state.
The virtio network device was inspecting the wrong errno as well.
Also drop packets if EMSGSIZE is set on error. Only in unexpected
cases should we flag the device needs a reset.
Issue reported by Mischa Peters.
ok bluhm@, jan@, mlarkin@ and makes sense to deraadt@