]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Add test cases for unresolved multicast routes
authorIdo Schimmel <idosch@nvidia.com>
Wed, 14 Sep 2022 07:53:39 +0000 (10:53 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 20 Sep 2022 15:22:15 +0000 (08:22 -0700)
commit9a97b295986a72a6dfc8bca01289c186ef995d22
tree0af15ef9837a0d4bf753f631afa423991e91c2cf
parentc79189c85d69a0332fcaffa3291257e43e703dd9
selftests: forwarding: Add test cases for unresolved multicast routes

Add IPv4 and IPv6 test cases for unresolved multicast routes, testing
that queued packets are forwarded after installing a matching (S, G)
route.

The test cases can be used to reproduce the bugs fixed in "ipmr: Always
call ip{,6}_mr_forward() from RCU read-side critical section".

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/router_multicast.sh