svn commit: r349602 - head/sys/dev/usb/net
Ed Maste
emaste at FreeBSD.org
Tue Jul 2 16:44:06 UTC 2019
Author: emaste
Date: Tue Jul 2 16:44:04 2019
New Revision: 349602
URL: https://svnweb.freebsd.org/changeset/base/349602
Log:
if_muge: set IFCAP_VLAN_MTU to maintain 1500 MTU with vlan use
PR: 238665
Submitted by: Ralf <iz-rpi03 at hs-karlsruhe.de>
MFC after: 1 week
Modified:
head/sys/dev/usb/net/if_muge.c
Modified: head/sys/dev/usb/net/if_muge.c
==============================================================================
--- head/sys/dev/usb/net/if_muge.c Tue Jul 2 15:01:54 2019 (r349601)
+++ head/sys/dev/usb/net/if_muge.c Tue Jul 2 16:44:04 2019 (r349602)
@@ -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;
More information about the svn-src-all
mailing list