[Bug 238665] muge(4) reduces the MTU when setting up a VLAN [patch included]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 17 12:36:51 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238665

            Bug ID: 238665
           Summary: muge(4) reduces the MTU when setting up a VLAN [patch
                    included]
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: iz-rpi03 at hs-karlsruhe.de

Created attachment 205181
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205181&action=edit
One line patch to set IFCAP_VLAN_MTU capability.

Do not drop the MTU from from 1500 to 1496 bytes when setting up a VLAN.
The chip is already configured for a maximum length of 1518 bytes.
See if_muge.c lines 1135ff at base r348020.

According to my tests adding IFCAP_VLAN_MTU to ifp->if_capabilities fixes this.

See also base r291953 for the same fix at the smsc(4) driver.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list