[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260111120813.159799-1-idosch@nvidia.com>
Date: Sun, 11 Jan 2026 14:08:08 +0200
From: Ido Schimmel <idosch@...dia.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net,
kuba@...nel.org,
pabeni@...hat.com,
edumazet@...gle.com,
dsahern@...nel.org,
horms@...nel.org,
petrm@...dia.com,
Ido Schimmel <idosch@...dia.com>
Subject: [PATCH net-next 0/5] ipv6: Allow for nexthop device mismatch with "onlink"
This patchset aligns IPv6 with IPv4 with respect to the "onlink" keyword
and allows IPv6 routes to be configured with a gateway address that is
resolved out of a different interface than the one specified.
Patches #1-#3 are small preparations in the existing "onlink" selftest.
Patch #4 is the actual change. See the commit message for detailed
description and motivation.
Patch #5 adds test cases for both address families, to make sure that
this use case does not regress.
Ido Schimmel (5):
selftests: fib-onlink: Remove "wrong nexthop device" IPv4 tests
selftests: fib-onlink: Remove "wrong nexthop device" IPv6 tests
selftests: fib-onlink: Add a test case for IPv4 multicast gateway
ipv6: Allow for nexthop device mismatch with "onlink"
selftests: fib-onlink: Add test cases for nexthop device mismatch
net/ipv6/route.c | 7 ++---
.../testing/selftests/net/fib-onlink-tests.sh | 28 +++++++++----------
2 files changed, 16 insertions(+), 19 deletions(-)
--
2.52.0
Powered by blists - more mailing lists