diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-05-23 14:50:02 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-06-03 19:32:54 +0200 |
commit | dcb681b659f2a0a546752730c9daa92dc6120d52 (patch) | |
tree | 00419d332db0b7d43a14c96f995e97d2b5bffaae /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 467a0c79b5514d7301ae679770380679a8e32668 (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 <tanggeliang@kylinos.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Jakub Sitnicki <jakub@cloudflare.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/0972529ee01ebf8a8fd2b310bdec90831c94be77.1716446893.git.tanggeliang@kylinos.cn
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions