]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu: Add test_pmtu_vti4_exception test
authorStefano Brivio <sbrivio@redhat.com>
Sat, 17 Mar 2018 01:31:44 +0000 (02:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Mar 2018 00:15:14 +0000 (20:15 -0400)
commit09596faba3290c453bf7c0b59ee1fa9f58adac06
tree48b43eb9341bbe997b8cc2e135f1bed26277bdf1
parent83f029a3af3d4253ea31be70c1dc81e86f338cfb
selftests: pmtu: Add test_pmtu_vti4_exception test

This test checks that PMTU exceptions are created only when
needed on IPv4 routes with vti and xfrm, and their PMTU value is
checked as well.

We can't adopt the same approach as test_pmtu_vti6_exception()
here, because on IPv4 administrative MTU changes won't be
reflected directly on PMTU.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh