summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorBenjamin Poirier <bpoirier@nvidia.com>2023-07-19 13:57:27 +0000
committerJakub Kicinski <kuba@kernel.org>2023-07-20 20:23:20 -0700
commitc7e95bbda82207ae81095dfa8d09ef1d6519a63d (patch)
tree4da7bcbc76c9a1727ade2934ed1859aa82828c1b /net/switchdev/switchdev.c
parent75f5f04c7bd2163044f80d5f7bea6b79edc288fa (diff)
selftests: net: Add test cases for nexthop groups with invalid neighbors
Add test cases for hash threshold (multipath) nexthop groups with invalid neighbors. Check that a nexthop with invalid neighbor is not selected when there is another nexthop with a valid neighbor. Check that there is no crash when there is no nexthop with a valid neighbor. The first test fails before the previous commit in this series. Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20230719-nh_select-v2-4-04383e89f868@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions