]> 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)
commit2c91bb59f13b5bdfbc8be98a3c7b85e1b5581e1f
treecc54d8ad2693e9c3df14646d122203b217fda0ed
parent9bdb7a1ed201763202b9b8d4a631205972ae2ad4
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