selftest: Fix set of ping_group_range in fcnal-test
authorDavid Ahern <dsahern@kernel.org>
Wed, 24 Jan 2024 21:41:16 +0000 (14:41 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 26 Jan 2024 01:14:11 +0000 (17:14 -0800)
commit79bf0d4a07d4af8fd646d07b70b11abd47c41083
tree16d7d56c1af10afcc3de36e08e5c6ec42c439342
parentad9b701aed48b0a682f56b4bee03731d9d1834bd
selftest: Fix set of ping_group_range in fcnal-test

ping_group_range sysctl has a compound value which does not go
through the various function layers in tact. Create a helper
function to bypass the layers and correctly set the value.

Signed-off-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240124214117.24687-3-dsahern@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/fcnal-test.sh