All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] l3mdev icmp error route lookup fixes
@ 2020-09-25 20:04 Mathieu Desnoyers
  2020-09-25 20:04 ` [RFC PATCH 1/3] ipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing table (v2) Mathieu Desnoyers
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Mathieu Desnoyers @ 2020-09-25 20:04 UTC (permalink / raw)
  To: David Ahern, David S . Miller, netdev, Michael Jeanson
  Cc: linux-kernel, Mathieu Desnoyers

Hi,

Here is an updated series of fixes for ipv4 and ipv6 which which ensure
the route lookup is performed on the right routing table in VRF
configurations when sending TTL expired icmp errors (useful for
traceroute).

It includes tests for both ipv4 and ipv6.

These fixes address specifically address the code paths involved in
sending TTL expired icmp errors. As detailed in the individual commit
messages, those fixes do not address similar icmp errors related to
network namespaces and unreachable / fragmentation needed messages,
which appear to use different code paths.

The main changes since the last round are updates to the selftests.

Thanks,

Mathieu


Mathieu Desnoyers (2):
  ipv4/icmp: l3mdev: Perform icmp error route lookup on source device
    routing table (v2)
  ipv6/icmp: l3mdev: Perform icmp error route lookup on source device
    routing table (v2)

Michael Jeanson (1):
  selftests: Add VRF route leaking tests

 net/ipv4/icmp.c                               |  23 +-
 net/ipv6/icmp.c                               |   7 +-
 net/ipv6/ip6_output.c                         |   2 -
 tools/testing/selftests/net/Makefile          |   1 +
 .../selftests/net/vrf_route_leaking.sh        | 626 ++++++++++++++++++
 5 files changed, 653 insertions(+), 6 deletions(-)
 create mode 100755 tools/testing/selftests/net/vrf_route_leaking.sh

-- 
2.17.1


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

end of thread, other threads:[~2020-10-12 14:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 20:04 [RFC PATCH 0/3] l3mdev icmp error route lookup fixes Mathieu Desnoyers
2020-09-25 20:04 ` [RFC PATCH 1/3] ipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing table (v2) Mathieu Desnoyers
2020-09-25 20:04 ` [RFC PATCH 2/3] ipv6/icmp: " Mathieu Desnoyers
2020-09-25 20:04 ` [RFC PATCH 3/3] selftests: Add VRF route leaking tests Mathieu Desnoyers
2020-10-05 16:30 ` [RFC PATCH 0/3] l3mdev icmp error route lookup fixes David Ahern
2020-10-11 23:56   ` David Ahern
2020-10-12 12:57     ` Mathieu Desnoyers
2020-10-12 13:45       ` David Ahern
2020-10-12 14:10         ` Mathieu Desnoyers
2020-10-12 14:26           ` David Ahern

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.