mbox series

[net,0/2] tunnels: fix ipv4 pmtu icmp checksum

Message ID 20230803152653.29535-1-fw@strlen.de (mailing list archive)
Headers show
Series tunnels: fix ipv4 pmtu icmp checksum | expand

Message

Florian Westphal Aug. 3, 2023, 3:26 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 5, 2023, 1:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu,  3 Aug 2023 17:26:48 +0200 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net,1/2] tunnels: fix kasan splat when generating ipv4 pmtu error
    https://git.kernel.org/netdev/net/c/6a7ac3d20593
  - [net,2/2] selftests: net: test vxlan pmtu exceptions with tcp
    https://git.kernel.org/netdev/net/c/136a1b434bbb

You are awesome, thank you!