selftests: pmtu: add basic IPv4 and IPv6 PMTU tests
authorSabrina Dubroca <sd@queasysnail.net>
Mon, 8 Oct 2018 12:37:05 +0000 (14:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 18:00:23 +0000 (11:00 -0700)
commite44e428f59e4299bd060ac5c1618c4ac8e77c75a
tree9f6f17335cf23df8f21aa09c0d94c7a61ac39fdd
parent72ebddd7fff81e03a0617754d3f5c45ae49cea43
selftests: pmtu: add basic IPv4 and IPv6 PMTU tests

Commit d1f1b9cbf34c ("selftests: net: Introduce first PMTU test") and
follow-ups introduced some PMTU tests, but they all rely on tunneling,
and, particularly, on VTI.

These new tests use simple routing to exercise the generation and
update of PMTU exceptions in IPv4 and IPv6.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh