CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/04/26 08:17:23
Modified files:
usr.sbin/vmd : virtio.c
Log message:
vmd(8): fix broken networking on newer linux guest kernels
Linux kernels after about 4.11.x or so exhibited problems with vmd(8)'s
virtio implementation. This commit fixes two bugs - an descriptor index
problem for the receive queue and a problem where the packet data was
being copied into the secondary descriptor buffer (should now be the
first descriptor's buffer, since that has enough size now for a non-jumbo
frame). Verified on ubuntu 17.10 (linux 4.13.x) and regression tested
on a variety of older linux guests and non-linux guests.
ok ccardenas, phessler