提交 e3c72f3d 编写于 作者: S Stefano Brivio 提交者: David S. Miller

selftests: pmtu: Drop prints to kernel log from pmtu_vti6_link_change_mtu

Reported-by: NDavid Ahern <dsahern@gmail.com>
Fixes: 1fad59ea ("selftests: pmtu: Add pmtu_vti6_link_change_mtu test")
Signed-off-by: NStefano Brivio <sbrivio@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ef57e31e
...@@ -421,7 +421,6 @@ test_pmtu_vti6_link_change_mtu() { ...@@ -421,7 +421,6 @@ test_pmtu_vti6_link_change_mtu() {
# Move to another device with different MTU, without passing MTU, check # Move to another device with different MTU, without passing MTU, check
# MTU is adjusted # MTU is adjusted
echo "${ns_a} ip link set vti6_a type vti6 remote ${dummy6_1_addr} local ${dummy6_1_addr}" > /dev/kmsg
${ns_a} ip link set vti6_a type vti6 remote ${dummy6_1_addr} local ${dummy6_1_addr} ${ns_a} ip link set vti6_a type vti6 remote ${dummy6_1_addr} local ${dummy6_1_addr}
mtu="$(link_get_mtu "${ns_a}" vti6_a)" mtu="$(link_get_mtu "${ns_a}" vti6_a)"
if [ ${mtu} -ne $((3000 - 40)) ]; then if [ ${mtu} -ne $((3000 - 40)) ]; then
...@@ -430,7 +429,6 @@ test_pmtu_vti6_link_change_mtu() { ...@@ -430,7 +429,6 @@ test_pmtu_vti6_link_change_mtu() {
fi fi
# Move it back, passing MTU, check MTU is not overridden # Move it back, passing MTU, check MTU is not overridden
echo "${ns_a} ip link set vti6_a mtu 1280 type vti6 remote ${dummy6_0_addr} local ${dummy6_0_addr}" > /dev/kmsg
${ns_a} ip link set vti6_a mtu 1280 type vti6 remote ${dummy6_0_addr} local ${dummy6_0_addr} ${ns_a} ip link set vti6_a mtu 1280 type vti6 remote ${dummy6_0_addr} local ${dummy6_0_addr}
mtu="$(link_get_mtu "${ns_a}" vti6_a)" mtu="$(link_get_mtu "${ns_a}" vti6_a)"
if [ ${mtu} -ne 1280 ]; then if [ ${mtu} -ne 1280 ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册