selftests: pmtu: Introduce tests for IPv4/IPv6 over GENEVE over IPv4/IPv6
authorStefano Brivio <sbrivio@redhat.com>
Thu, 8 Nov 2018 11:19:20 +0000 (12:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2018 01:13:08 +0000 (17:13 -0800)
commitce7336610ca950cda131293def57a0178d860121
tree63d0e86d3fef8d1d127ab36e70b4a27f67e70b68
parenta025fb5f49ad38cf749753b16fcd031d0d678f2b
selftests: pmtu: Introduce tests for IPv4/IPv6 over GENEVE over IPv4/IPv6

Use a router between endpoints, implemented via namespaces, set a low MTU
between router and destination endpoint, exceed it and check PMTU value in
route exceptions.

v2:
- Introduce IPv4 tests right away, if iproute2 doesn't support the 'df'
  link option they will be skipped (David Ahern)

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