Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/3] ipv6: Honor oif when choosing nexthop for locally generated traffic
@ 2026-06-11 15:46 Ido Schimmel
  2026-06-11 15:46 ` [PATCH net-next v3 1/3] ipv6: Select best matching nexthop object in fib6_table_lookup() Ido Schimmel
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ido Schimmel @ 2026-06-11 15:46 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, pabeni, edumazet, dsahern, horms, willemb,
	Ido Schimmel

Patch #1 is a preparation patch following the comment from Sashiko on
v2. See details in the commit message.

Patch #2 aligns IPv6 with IPv4 and changes IPv6 route lookup to prefer a
nexthop whose nexthop device matches the specified oif.

Patch #3 adds a selftest.

v3:
- Add patch #1.
- Add tests with nexthop objects.

v2: https://lore.kernel.org/netdev/20260601065300.267960-1-idosch@nvidia.com/
- Add tests with VRFs.

v1: https://lore.kernel.org/netdev/20251224161801.824589-1-idosch@nvidia.com/

Ido Schimmel (3):
  ipv6: Select best matching nexthop object in fib6_table_lookup()
  ipv6: Honor oif when choosing nexthop for locally generated traffic
  selftests: fib_tests: Add test cases for route lookup with oif

 net/ipv6/route.c                         |  22 +-
 tools/testing/selftests/net/fib_tests.sh | 251 ++++++++++++++++++++++-
 2 files changed, 263 insertions(+), 10 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-06-11 18:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-11 15:46 [PATCH net-next v3 0/3] ipv6: Honor oif when choosing nexthop for locally generated traffic Ido Schimmel
2026-06-11 15:46 ` [PATCH net-next v3 1/3] ipv6: Select best matching nexthop object in fib6_table_lookup() Ido Schimmel
2026-06-11 18:25   ` David Ahern
2026-06-11 15:46 ` [PATCH net-next v3 2/3] ipv6: Honor oif when choosing nexthop for locally generated traffic Ido Schimmel
2026-06-11 15:46 ` [PATCH net-next v3 3/3] selftests: fib_tests: Add test cases for route lookup with oif Ido Schimmel
2026-06-11 18:28   ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox