]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: net: fib-onlink-tests: Convert to use namespaces by default
authorRicardo B. Marlière <rbm@suse.com>
Tue, 13 Jan 2026 15:37:44 +0000 (12:37 -0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Jan 2026 03:58:21 +0000 (19:58 -0800)
commit4f5f148dd7c0459229d2ab9a769b2e820f9ee6a2
tree3d74e8418ab697ab9a1124b986dbc1ff36e02cb0
parent4d10edfd1475b69dbd4c47f34b61a3772ece83ca
selftests: net: fib-onlink-tests: Convert to use namespaces by default

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>
Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de>
Link: https://patch.msgid.link/20260113-selftests-net-fib-onlink-v2-1-89de2b931389@suse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/fib-onlink-tests.sh