[Bug 268088] [PATCH] Check MTU of $iface before creating epair in jib script
Date: Wed, 30 Nov 2022 21:26:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268088 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=238460&action=edit Patch file for jib script When the jib script creates the bridge interface that bridge inherits the mtu 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 bridge 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 mtu 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. -- You are receiving this mail because: You are the assignee for the bug.