diff options
| author | Ido Schimmel <idosch@nvidia.com> | 2026-10-19 17:03:37 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-20 14:17:15 -0700 |
| commit | b5dc3fde8b92286a0cb06bf08e2ec0141cf867bb (patch) | |
| tree | 5c561cede48cd2cb79ba1cb4816ba1206724a6a3 /scripts | |
| parent | 7c9cb1edaf8fd8e1af25e39741e603500986ef66 (diff) | |
| download | linux-b5dc3fde8b92286a0cb06bf08e2ec0141cf867bb.tar.gz linux-b5dc3fde8b92286a0cb06bf08e2ec0141cf867bb.zip | |
selftests: netdevsim: Add FIB notification tests for nexthop objects
Add IPv4 and IPv6 test cases that program a route that uses a nexthop
object and check that two notifications are emitted for it, with the
second one carrying the RTM_F_TRAP flag.
The new route_nexthop_check() helper follows the same pattern as the
existing route_{addition,deletion,replacement}_check() helpers.
Without "ipv6: Hold RCU when emitting route hardware flags
notification", the IPv6 test case passes, but triggers suspicious RCU
usage splats. The IPv4 test case is added for completeness.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Eric Dumazet <edumazet@kernel.org>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20261019140337.2886875-3-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
