The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7429
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Older kernels prevent bridge MTU from being raised to value higher than lowest member. Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 29308a9ef24a9caf1a8ba038fe76170a58e6e68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Mon, 25 May 2020 21:47:54 -0400 Subject: [PATCH] tests: Don't assume bridge MTU can be forced up MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Older kernels prevent bridge MTU from being raised to value higher than lowest member. Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- test/suites/container_devices_nic_bridged.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/suites/container_devices_nic_bridged.sh b/test/suites/container_devices_nic_bridged.sh index dbde3897dd..14e27ab3f3 100644 --- a/test/suites/container_devices_nic_bridged.sh +++ b/test/suites/container_devices_nic_bridged.sh @@ -276,8 +276,10 @@ test_container_devices_nic_bridged() { fi # Check that MTU is inherited from parent device when not specified on device. - lxc network set "${brName}" bridge.mtu "1405" + lxc stop "${ctName}" --force lxc config device unset "${ctName}" eth0 mtu + lxc network set "${brName}" bridge.mtu "1405" + lxc start "${ctName}" if ! lxc exec "${ctName}" -- grep "1405" /sys/class/net/eth0/mtu ; then echo "mtu not inherited from parent" false
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel