freebsd-dev/sys/dev/virtio/network
Luigi Rizzo c26e5fc2ed make sure ifp->if_transmit returns 0 if a buffer is enqueued.
A similar fix should be applied to vmxnet, ixgbe, igb, i40e.
(some of them previously reported by Michael Tuexen)

Drivers using if_transmit are correct, and so are most of the
other drivers that reassing if_transmit.

Among other things, this bug causes panics when using netmap emulation
on top of generic drivers.

Approved by:	bryanv
MFC after:	3 days
2014-06-04 16:57:05 +00:00
..
if_vtnet.c make sure ifp->if_transmit returns 0 if a buffer is enqueued. 2014-06-04 16:57:05 +00:00
if_vtnetvar.h Use m_defrag() instead of m_collapse() to compact a long mbuf chain 2014-02-02 05:20:46 +00:00
virtio_net.h