Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2020 18:22:37 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r358762 - stable/12/sys/dev/usb/net
Message-ID:  <202003081822.028IMb86011416@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003081822.028IMb86011416>