Bug 258334 - 802.1ad ethertype lost
Summary: 802.1ad ethertype lost
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 13.0-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: Lutz Donnerhacke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-07 08:18 UTC by Lutz Donnerhacke
Modified: 2021-09-07 08:32 UTC (History)
1 user (show)

See Also:
donner: maintainer-feedback-
donner: mfc-stable13?
donner: mfc-stable12-
donner: mfc-stable11-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lutz Donnerhacke freebsd_committer 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 2021-09-07 08:30:41 UTC
Quick fix in https://reviews.freebsd.org/D31871