summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2004-05-21 18:11:38 +0000
committeryar <yar@FreeBSD.org>2004-05-21 18:11:38 +0000
commit97996181370b818c0b9fd66431de5c9d36d678ea (patch)
treed9a14be8333c26ccc5f0f76828592260c5b62cd4 /sys
parent18d2bdbc67df4373b29f652d5fe8974ec2bfc6e3 (diff)
downloadFreeBSD-src-97996181370b818c0b9fd66431de5c9d36d678ea.zip
FreeBSD-src-97996181370b818c0b9fd66431de5c9d36d678ea.tar.gz
The driver fxp(4) has reception of large frames enabled hardcodedly,
so let VLAN_MTU be marked in if_capenable from the beginning.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fxp/if_fxp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 67fc301..d0b6467 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -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
OpenPOWER on IntegriCloud