All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] Fix icmp error source address over xfrm tunnel
@ 2024-05-05 17:58 Antony Antony
  2024-05-05 17:58 ` [PATCH net-next v2 1/2] xfrm: fix source address in icmp error generation from IPsec gateway Antony Antony
  2024-05-05 17:58 ` [PATCH net-next v2 2/2] selftests/net: add ICMP unreachable over IPsec tunnel Antony Antony
  0 siblings, 2 replies; 3+ messages in thread
From: Antony Antony @ 2024-05-05 17:58 UTC (permalink / raw)
  To: Jakub Kicinski, Steffen Klassert, netdev, linux-kselftest
  Cc: David S. Miller, David Ahern, Eric Dumazet, Paolo Abeni,
	Herbert Xu, Antony Antony, devel

Hi,
This fix, originally intended for XFRM/IPsec, has been recommended by
Steffen Klassert to submit to the net tree.

The patch addresses a minor issue related to the IPv4 source address of
ICMP error messages, which originated from an old 2011 commit:

415b3334a21a ("icmp: Fix regression in nexthop resolution during replies.")

The omission of a "Fixes" tag  in the following commit is deliberate
to prevent potential test failures and subsequent regression issues
that may arise from backporting this patch all stable kerenels.
This is a minor fix, anot not security fix.
With a seleftest I am submitting this to net-next tree.

v1->v2 : add kernel selftest script

Antony Antony (2):
  xfrm: fix source address in icmp error generation from IPsec gateway
  selftests: add ICMP unreachable over IPsec tunnel

 net/ipv4/icmp.c                           |   1 -
 tools/testing/selftests/net/Makefile      |   1 +
 tools/testing/selftests/net/xfrm_state.sh | 624 ++++++++++++++++++++++
 3 files changed, 625 insertions(+), 1 deletion(-)
 create mode 100755 tools/testing/selftests/net/xfrm_state.sh

--
2.30.2

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

end of thread, other threads:[~2024-05-05 17:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-05 17:58 [PATCH net-next v2 0/2] Fix icmp error source address over xfrm tunnel Antony Antony
2024-05-05 17:58 ` [PATCH net-next v2 1/2] xfrm: fix source address in icmp error generation from IPsec gateway Antony Antony
2024-05-05 17:58 ` [PATCH net-next v2 2/2] selftests/net: add ICMP unreachable over IPsec tunnel Antony Antony

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.