Bug 258334

Summary: 802.1ad ethertype lost
Product: Base System Reporter: Lutz Donnerhacke <donner>
Component: kernAssignee: Lutz Donnerhacke <donner>
Status: New ---    
Severity: Affects Some People CC: net
Priority: --- Flags: donner: maintainer-feedback-
donner: mfc-stable13?
donner: mfc-stable12-
donner: mfc-stable11-
Version: 13.0-STABLE   
Hardware: Any   
OS: Any   

Description Lutz Donnerhacke freebsd_committer freebsd_triage 2021-09-07 08:18:34 UTC
During input processing of received frames, the commit c7cffd65c5d858425e90b847d2e8e583e3b13bf7 (D26436) introduced a generalized processing von 802.1q and 802.1ad frames by replacing the VLAN header by mbuf meta data.

Unfortunately the ethertype of the original frame is lost. So if the frame is processed by other kernel routines later (i.e. netgraph), 802.1ad frames will be indistinguishable from 802.1q frames.

In my case this breaks further processing.
Comment 1 Lutz Donnerhacke freebsd_committer freebsd_triage 2021-09-07 08:30:41 UTC
Quick fix in https://reviews.freebsd.org/D31871