selftests: pmtu: Introduce tests for IPv4/IPv6 over VXLAN over IPv4/IPv6
authorStefano Brivio <sbrivio@redhat.com>
Thu, 8 Nov 2018 11:19:17 +0000 (12:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Nov 2018 01:13:08 +0000 (17:13 -0800)
commit582888792f7bc2d543d85cb610160e2162d5f132
treecc54d8ad2693e9c3df14646d122203b217fda0ed
parentb4d3069783bccf0c965468da7db141d359d796fc
selftests: pmtu: Introduce tests for IPv4/IPv6 over VXLAN 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:
- Change all occurrences of VxLAN to VXLAN (Jiri Benc)
- 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