[Bug 298073] Bridge VLAN tagging fails when using bhyve e1000 device emulation
Date: Fri, 20 Nov 2026 01:26:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298073
James Mintram <me@jamesrm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |me@jamesrm.com
--- Comment #2 from James Mintram <me@jamesrm.com> ---
I've reproduced this issue on a FreeBSD 16.0-CURRENT host
(main-n291387-2c2007fa3e65) with a FreeBSD 15.1 guest using bhyve's e1000
emulation and VLAN 110.
I logged out the following:
pktlen=42 hdrlen=42 vlen=4
e82545: packet too small for writable header
The guest experiences complete packet loss.
The writable-header check appears to include the four bytes reserved for VLAN
insertion in its input-length requirement, even though those bytes are
generated by the emulator rather than supplied by the guest.
I've prepared a patch to compare pktlen against hdrlen while retaining hdrlen +
vlen for the writable-buffer allocation.
I tested this using a FreeBSD guest 15.1 - and was able to repro the error and
verify the fix.
GitHub PR: https://github.com/freebsd/freebsd-src/pull/2575
--
You are receiving this mail because:
You are the assignee for the bug.