aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2024-05-23 14:50:02 +0800
committerDaniel Borkmann <[email protected]>2024-06-03 19:32:54 +0200
commitdcb681b659f2a0a546752730c9daa92dc6120d52 (patch)
tree00419d332db0b7d43a14c96f995e97d2b5bffaae /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent467a0c79b5514d7301ae679770380679a8e32668 (diff)
selftests/bpf: Fix size of map_fd in test_sockmap
The array size of map_fd[] is 9, not 8. This patch changes it as a more general form: ARRAY_SIZE(map_fd). Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Tested-by: Jakub Sitnicki <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/0972529ee01ebf8a8fd2b310bdec90831c94be77.1716446893.git.tanggeliang@kylinos.cn
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions