[PATCH net v2] selftests: net: fib-onlink-tests: Convert to use namespaces by default

Ricardo B. Marlière posted 1 patch 3 weeks, 5 days ago
tools/testing/selftests/net/fib-onlink-tests.sh | 71 +++++++++++--------------
1 file changed, 30 insertions(+), 41 deletions(-)
Re: [PATCH net v2] selftests: net: fib-onlink-tests: Convert to use namespaces by default
Posted by Fernando Fernandez Mancera 3 weeks, 3 days ago
On 1/13/26 4:37 PM, Ricardo B. Marlière wrote:
> Currently, the test breaks if the SUT already has a default route
> configured for IPv6. Fix by avoiding the use of the default namespace.
> 
> Fixes: 4ed591c8ab44 ("net/ipv6: Allow onlink routes to have a device mismatch if it is the default route")
> Suggested-by: Fernando Fernandez Mancera <fmancera@suse.de>
> Signed-off-by: Ricardo B. Marlière <rbm@suse.com>

Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de>

LGTM and passes on my side. Thanks.
Re: [PATCH net v2] selftests: net: fib-onlink-tests: Convert to use namespaces by default
Posted by Ido Schimmel 3 weeks, 3 days ago
On Tue, Jan 13, 2026 at 12:37:44PM -0300, Ricardo B. Marlière wrote:
> Currently, the test breaks if the SUT already has a default route
> configured for IPv6. Fix by avoiding the use of the default namespace.
> 
> Fixes: 4ed591c8ab44 ("net/ipv6: Allow onlink routes to have a device mismatch if it is the default route")
> Suggested-by: Fernando Fernandez Mancera <fmancera@suse.de>
> Signed-off-by: Ricardo B. Marlière <rbm@suse.com>

Reviewed-by: Ido Schimmel <idosch@nvidia.com>

I made some changes to this test in net-next [1], but I tried merging
net with this patch into net-next and didn't hit any conflicts. The test
still passes with this patch.

[1] https://lore.kernel.org/netdev/20260111120813.159799-1-idosch@nvidia.com/