From 91c33ba3a3e7f05d5556245a39af2b04b1af2a49 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 2 Jul 2019 16:44:04 +0000 Subject: [PATCH] if_muge: set IFCAP_VLAN_MTU to maintain 1500 MTU with vlan use PR: 238665 Submitted by: Ralf MFC after: 1 week --- sys/dev/usb/net/if_muge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/usb/net/if_muge.c b/sys/dev/usb/net/if_muge.c index 47d57a253fa3..893e6d5760db 100644 --- a/sys/dev/usb/net/if_muge.c +++ b/sys/dev/usb/net/if_muge.c @@ -1610,6 +1610,7 @@ muge_attach_post_sub(struct usb_ether *ue) * however currently only RX checksum is supported in the driver * (see top of file). */ + ifp->if_capabilities |= IFCAP_VLAN_MTU; ifp->if_hwassist = 0; if (MUGE_DEFAULT_RX_CSUM_ENABLE) ifp->if_capabilities |= IFCAP_RXCSUM;