Lots of Ethernet drivers fix the header length after ether_ifattach().
Well since the net stack can conclude based on the capability
IFCAP_VLAN_MTU, let the net stack do it rather than individual drivers.
MFC after: 2 weeks
|  Differential  D50846  
ethernet: Set maximum Ethernet header length based on the capability IFCAP_VLAN_MTU Authored by zlei on Jun 14 2025, 3:22 PM. Tags None Referenced Files 
 
 
 
 
 
 
 
 
Details Lots of Ethernet drivers fix the header length after ether_ifattach(). MFC after: 2 weeks 
Diff Detail 
 Event TimelineComment Actions In-tree drivers will be cleaned up in following up commits. I intended to mention this behavior change in UPDATING, but 3rd party shall not be affected, if they FIX the header length after attaching the interface. |