]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ada82e862cffbedaf823c225fb3a7c6f07a4365
tree9f6f17335cf23df8f21aa09c0d94c7a61ac39fdd
parent27adadc504fb4024bf3ed2eaf2c7fe542212dc84
selftests: pmtu: add basic IPv4 and IPv6 PMTU tests

Commit 2666139e1827 ("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