selftests: openvswitch: Add validation for the recursion test
authorAaron Conole <aconole@redhat.com>
Wed, 7 Feb 2024 13:24:16 +0000 (08:24 -0500)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Feb 2024 20:54:38 +0000 (12:54 -0800)
commitbd128f62c365504e1268dc09fcccdfb1f091e93a
tree0e9bc6fb2090518ce781dacda64018b89ffe8984
parent6e2f90d31fe09f2b852de25125ca875aabd81367
selftests: openvswitch: Add validation for the recursion test

Add a test case into the netlink checks that will show the number of
nested action recursions won't exceed 16.  Going to 17 on a small
clone call isn't enough to exhaust the stack on (most) systems, so
it should be safe to run even on systems that don't have the fix
applied.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240207132416.1488485-3-aconole@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/openvswitch/openvswitch.sh
tools/testing/selftests/net/openvswitch/ovs-dpctl.py