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)
commit5e84430bb83e8241c485ccce728ff5e5e80789eb
tree48b43eb9341bbe997b8cc2e135f1bed26277bdf1
parent35b49424b8a49edb6de6e7ec54bd8edb568031c2
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