Skip to content

Commit

Permalink
selftests: pmtu: Drop prints to kernel log from pmtu_vti6_link_change…
Browse files Browse the repository at this point in the history
…_mtu

Reported-by: David Ahern <dsahern@gmail.com>
Fixes: 1fad59e ("selftests: pmtu: Add pmtu_vti6_link_change_mtu test")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stefano Brivio authored and David S. Miller committed Mar 18, 2018
1 parent ef57e31 commit e3c72f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/testing/selftests/net/pmtu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ test_pmtu_vti6_link_change_mtu() {

# Move to another device with different MTU, without passing MTU, check
# 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}
mtu="$(link_get_mtu "${ns_a}" vti6_a)"
if [ ${mtu} -ne $((3000 - 40)) ]; then
Expand All @@ -430,7 +429,6 @@ test_pmtu_vti6_link_change_mtu() {
fi

# 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}
mtu="$(link_get_mtu "${ns_a}" vti6_a)"
if [ ${mtu} -ne 1280 ]; then
Expand Down

0 comments on commit e3c72f3

Please sign in to comment.