Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] ipv6: Honor oif when choosing nexthop for locally generated traffic
@ 2026-06-01  6:52 Ido Schimmel
  2026-06-01  6:52 ` [PATCH net-next v2 1/2] " Ido Schimmel
  2026-06-01  6:53 ` [PATCH net-next v2 2/2] selftests: fib_tests: Add test cases for route lookup with oif Ido Schimmel
  0 siblings, 2 replies; 3+ messages in thread
From: Ido Schimmel @ 2026-06-01  6:52 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, pabeni, edumazet, dsahern, horms, willemb,
	Ido Schimmel

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

Patch #2 adds a selftest.

v2:
- Add tests with VRFs.

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

Ido Schimmel (2):
  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                         |   5 +-
 tools/testing/selftests/net/fib_tests.sh | 183 ++++++++++++++++++++++-
 2 files changed, 186 insertions(+), 2 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-06-01  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-01  6:52 [PATCH net-next v2 0/2] ipv6: Honor oif when choosing nexthop for locally generated traffic Ido Schimmel
2026-06-01  6:52 ` [PATCH net-next v2 1/2] " Ido Schimmel
2026-06-01  6:53 ` [PATCH net-next v2 2/2] selftests: fib_tests: Add test cases for route lookup with oif Ido Schimmel

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