]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: fib_test: Add test case for ipv4 multi nexthops
authorVadim Fedorenko <vadim.fedorenko@linux.dev>
Sun, 21 Dec 2025 19:26:39 +0000 (19:26 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Dec 2025 10:07:38 +0000 (11:07 +0100)
commit3be42c3b3d4343f548d28fdcb509869db70dc121
tree433ac1a030ad1769e7d435ce7186d99cb55c212c
parent6e17474aa9fe15015c9921a5081c7ca71783aac6
selftests: fib_test: Add test case for ipv4 multi nexthops

The test checks that with multi nexthops route the preferred route is the
one which matches source ip. In case when source ip is on dummy
interface, it checks that the routes are balanced.

Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20251221192639.3911901-2-vadim.fedorenko@linux.dev
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/fib_tests.sh