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 <[email protected]>

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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to