]> git.itanic.dy.fi Git - linux-stable/commit
selftests: net: test vxlan pmtu exceptions with tcp
authorFlorian Westphal <fw@strlen.de>
Thu, 3 Aug 2023 15:26:50 +0000 (17:26 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Aug 2023 01:24:52 +0000 (18:24 -0700)
commit136a1b434bbb90c5e50831646ad0680c744c79bb
tree7e194acb426e2dc8d98cf123286cfffca28087f0
parent6a7ac3d20593865209dceb554d8b3f094c6bd940
selftests: net: test vxlan pmtu exceptions with tcp

TCP might get stuck if a nonlinear skb exceeds the path MTU,
icmp error contains an incorrect icmp checksum in that case.

Extend the existing test for vxlan to also send at least 1MB worth of
data via TCP in addition to the existing 'large icmp packet adds
route exception'.

On my test VM this fails due to 0-size output file without
"tunnels: fix kasan splat when generating ipv4 pmtu error".

Signed-off-by: Florian Westphal <fw@strlen.de>
Link: https://lore.kernel.org/r/20230803152653.29535-3-fw@strlen.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/pmtu.sh