]> 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)
commitc78ff0c74680d40aef84b08bc6b2fb02bc07c1f5
tree48b43eb9341bbe997b8cc2e135f1bed26277bdf1
parent8547118e4a04cf70ba289df8cb795cef55f92262
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