Skip to content

tunnels: fix ipv4 pmtu icmp checksum

Florian Westphal netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2tunnels: fix kasan splat when generating ipv4 pmtu errornet/ipv4/ip_tunnel_core.c+1 -11 replyApplied
2/2selftests: net: test vxlan pmtu exceptions with tcptools/testing/selftests/net/pmtu.sh+35 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/2] tunnels: fix ipv4 pmtu icmp checksum

The checksum of the generated ipv4 icmp pmtud message is only correct if the skb that causes the icmp error generation is linear.

Fix this and add a selftest for this.

Florian Westphal (2):
tunnels: fix kasan splat when generating ipv4 pmtu error
selftests: net: test vxlan pmtu exceptions with tcp

 net/ipv4/ip_tunnel_core.c           |  2 +-
 tools/testing/selftests/net/pmtu.sh | 35 +++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+), 1 deletion(-)
Signature · 1 line
2.41.0