Commit ba3c8863 authored by Leigh B Stoller's avatar Leigh B Stoller

Make sure the physical device MTU is set to jumbo before creating

the vlan devices on it (inherits MTU).
parent d28d263a
......@@ -3369,6 +3369,15 @@ sub createExpBridges($$$)
$pdev = $link->{'physical_dev'};
my $iface = findIface($pmac);
#
# Jumbos; set MTU before we create the vlan device, which
# will inherit that MTU. Yep, we probably do this multiple
# times per interface, but its harmless.
#
mysystem2("$IFCONFIG $iface mtu 9000");
goto bad
if ($?);
if (! -d "/sys/class/net/$pdev") {
mysystem2("$VLANCONFIG set_name_type DEV_PLUS_VID_NO_PAD");
mysystem2("$VLANCONFIG add $iface $tag");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment