[Bug 247242] after upgrade, DHCP fails with: ip length 576 disagrees with bytes received 574

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 14 22:39:48 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247242

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jrtc27
Date: Sun Jun 14 22:39:34 UTC 2020
New revision: 362186
URL: https://svnweb.freebsd.org/changeset/base/362186

Log:
  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

Changes:
  head/sys/dev/virtio/network/if_vtnet.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list