From: Ido Schimmel <idosch@nvidia•com>
To: netdev@vger•kernel.org
Cc: davem@davemloft•net, kuba@kernel•org, pabeni@redhat•com,
edumazet@google•com, dsahern@kernel•org, horms@kernel•org,
willemb@google•com, Ido Schimmel <idosch@nvidia•com>
Subject: [PATCH net-next v2 0/2] ipv6: Honor oif when choosing nexthop for locally generated traffic
Date: Mon, 1 Jun 2026 09:52:58 +0300 [thread overview]
Message-ID: <20260601065300.267960-1-idosch@nvidia.com> (raw)
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
next reply other threads:[~2026-06-01 6:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-01 6:52 Ido Schimmel [this message]
2026-06-01 6:52 ` [PATCH net-next v2 1/2] ipv6: Honor oif when choosing nexthop for locally generated traffic Ido Schimmel
2026-06-02 2:51 ` David Ahern
2026-06-02 11:49 ` 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
2026-06-02 2:53 ` David Ahern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260601065300.267960-1-idosch@nvidia.com \
--to=idosch@nvidia$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=dsahern@kernel$(echo .)org \
--cc=edumazet@google$(echo .)com \
--cc=horms@kernel$(echo .)org \
--cc=kuba@kernel$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=willemb@google$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox