netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/2] tunnels: fix ipv4 pmtu icmp checksum
@ 2023-08-03 15:26 Florian Westphal
  2023-08-03 15:26 ` [PATCH net 1/2] tunnels: fix kasan splat when generating ipv4 pmtu error Florian Westphal
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Florian Westphal @ 2023-08-03 15:26 UTC (permalink / raw)
  To: netdev
  Cc: sbrivio, David S. Miller, dsahern, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, shuah, Florian Westphal

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(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-05  7:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-03 15:26 [PATCH net 0/2] tunnels: fix ipv4 pmtu icmp checksum Florian Westphal
2023-08-03 15:26 ` [PATCH net 1/2] tunnels: fix kasan splat when generating ipv4 pmtu error Florian Westphal
2023-08-05  7:07   ` Simon Horman
2023-08-03 15:26 ` [PATCH net 2/2] selftests: net: test vxlan pmtu exceptions with tcp Florian Westphal
2023-08-05  1:30 ` [PATCH net 0/2] tunnels: fix ipv4 pmtu icmp checksum patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).