]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pmtu.sh: Add tests for bridged UDP tunnels
authorStefano Brivio <sbrivio@redhat.com>
Tue, 4 Aug 2020 05:53:46 +0000 (07:53 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Aug 2020 20:01:45 +0000 (13:01 -0700)
commit883efaf8e08881173b116225b766812921d4429a
tree1b963756d722bf3d5fcf9fdb5cdc85dc83620372
parentbb5197dc307c00d47eecb711a8773cef549963da
selftests: pmtu.sh: Add tests for bridged UDP tunnels

The new tests check that IP and IPv6 packets exceeding the local PMTU
estimate, both locally generated and forwarded by a bridge from
another node, result in the correct route exceptions being created,
and that communication with end-to-end fragmentation over VXLAN and
GENEVE tunnels is now possible as a result of PMTU discovery.

Part of the existing setup functions aren't generic enough to simply
add a namespace and a bridge to the existing routing setup. This
rework is in progress and we can easily shrink this once more generic
topology functions are available.

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