]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'ipv4-icmp-fix-source-ip-derivation-in-presence-of-vrfs'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 11 Sep 2025 10:22:40 +0000 (12:22 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 11 Sep 2025 10:22:40 +0000 (12:22 +0200)
commit5adf6f2b9972dbb69f4dd11bae52ba251c64ecb7
tree7aab45354544c8511399cb962d4be48300c66322
parent7f0b763b818064b317122b6d5e20c59802615eb2
parentf7240999deb45f15c37b357852be2da23c2ea2d3
Merge branch 'ipv4-icmp-fix-source-ip-derivation-in-presence-of-vrfs'

Ido Schimmel says:

====================
ipv4: icmp: Fix source IP derivation in presence of VRFs

Align IPv4 with IPv6 and in the presence of VRFs generate ICMP error
messages with a source IP that is derived from the receiving interface
and not from its VRF master. This is especially important when the error
messages are "Time Exceeded" messages as it means that utilities like
traceroute will show an incorrect packet path.

Patches #1-#2 are preparations.

Patch #3 is the actual change.

Patches #4-#7 make small improvements in the existing traceroute test.

Patch #8 extends the traceroute test with VRF test cases for both IPv4
and IPv6.

Changes since v1 [1]:
* Rebase.

[1] https://lore.kernel.org/netdev/20250901083027.183468-1-idosch@nvidia.com/
====================

Link: https://patch.msgid.link/20250908073238.119240-1-idosch@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>