Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2019 16:44:05 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349602 - head/sys/dev/usb/net
Message-ID:  <201907021644.x62Gi5Mn017978@repo.freebsd.org>

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



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