Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2022 21:26:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 268088] [PATCH] Check MTU of $iface before creating epair in jib script
Message-ID:  <bug-268088-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268088

            Bug ID: 268088
           Summary: [PATCH] Check MTU of $iface before creating epair in
                    jib script
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: niece.uptake165@hiu6mpxacf6d.mailer.me

Created attachment 238460
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238460&action=
=3Dedit
Patch file for jib script

When the jib script creates the bridge interface that bridge inherits the m=
tu
setting of $iface. However, when the jib script create the epair interface =
the
epair interface gets a default mtu of 1500. If the inherited mtu of the bri=
dge
does not match the default mtu of 1500 from the epair interfaces the script
will fail.

This patch checks the mtu of $iface (that will be inherited by the bridge) =
and
applies that mtu to the two epair interfaces after creation to ensure the m=
tu
matches and the script succeeds. I didn't see a single ifconfig command that
gives the mtu value so I grep'd it out of the standard ifconfig output.

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



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