]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'ipv6-honor-oif-when-choosing-nexthop-for-locally-generated-traffic'
authorJakub Kicinski <kuba@kernel.org>
Sat, 13 Jun 2026 00:53:51 +0000 (17:53 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jun 2026 00:53:51 +0000 (17:53 -0700)
commit48ecce1f330a49ccc4bd6f134c01e3ec414adca4
treeb8b78dab8b1beee1f6236daafcc7bc5826a148ea
parent02a61d2018c44f1d7759ae6ea1f0118986f596e6
parent707c1f866c68de8ab741444f0973276ad06e53ce
Merge branch 'ipv6-honor-oif-when-choosing-nexthop-for-locally-generated-traffic'

Ido Schimmel says:

====================
ipv6: Honor oif when choosing nexthop for locally generated traffic

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.
====================

Link: https://patch.msgid.link/20260611154605.992528-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>