The driver fxp(4) has reception of large frames enabled hardcodedly,
so let VLAN_MTU be marked in if_capenable from the beginning.
This commit is contained in:
parent
7560265c18
commit
21ce2bf290
@ -820,6 +820,7 @@ fxp_attach(device_t dev)
|
||||
*/
|
||||
ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
|
||||
ifp->if_capabilities |= IFCAP_VLAN_MTU;
|
||||
ifp->if_capenable |= IFCAP_VLAN_MTU;
|
||||
|
||||
/*
|
||||
* Let the system queue as many packets as we have available
|
||||
|
Loading…
Reference in New Issue
Block a user