opnsense-src/sys/dev/virtio/network
Jessica Clarke 576b099a5f vtnet: Fix regression introduced in r361944
For legacy devices that don't support MrgRxBuf (such as bhyve pre-r358180),
r361944 failed to update the receive handler to account for the additional
padding introduced by the unused num_buffers field that is now always present
in struct vtnet_rx_header. Thus, calculate the padding dynamically based on
vtnet_hdr_size.

PR:		247242
Reported by:	thj
Tested by:	thj
2020-06-14 22:39:34 +00:00
..
if_vtnet.c vtnet: Fix regression introduced in r361944 2020-06-14 22:39:34 +00:00
if_vtnetvar.h netmap: vtnet: fix races in vtnet_netmap_reg() 2020-06-14 20:47:31 +00:00
virtio_net.h tap: add support for virtio-net offloads 2019-10-18 21:53:27 +00:00