]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4847303731e65b164f9ec4dfab5d075c3bb9798
treecc54d8ad2693e9c3df14646d122203b217fda0ed
parent56d9b2aa7ca379f20f415ada9a03b8c8b623ebf9
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