svn commit: r358762 - stable/12/sys/dev/usb/net

Ed Maste emaste at FreeBSD.org
Sun Mar 8 18:22:39 UTC 2020


Author: emaste
Date: Sun Mar  8 18:22:36 2020
New Revision: 358762
URL: https://svnweb.freebsd.org/changeset/base/358762

Log:
  MFC r349602: if_muge: set IFCAP_VLAN_MTU to maintain 1500 MTU with vlan use
  
  PR:		238665
  Submitted by:	Ralf <iz-rpi03 at hs-karlsruhe.de>

Modified:
  stable/12/sys/dev/usb/net/if_muge.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/usb/net/if_muge.c
==============================================================================
--- stable/12/sys/dev/usb/net/if_muge.c	Sun Mar  8 18:21:04 2020	(r358761)
+++ stable/12/sys/dev/usb/net/if_muge.c	Sun Mar  8 18:22:36 2020	(r358762)
@@ -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