]> git.ipfire.org Git - thirdparty/linux.git/commit
bpf/veristat: Fix veristat for map type BPF_MAP_TYPE_CGRP_STORAGE
authorSong Liu <song@kernel.org>
Fri, 13 Jun 2025 05:00:01 +0000 (22:00 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 13 Jun 2025 17:08:22 +0000 (10:08 -0700)
commitccefa19335a0b81f11b0856e951ca909445b3783
tree0f19c565f998441eac76fd5a9af08aaedc60fb1e
parentaf91af33c16853c569ca814124781b849886f007
bpf/veristat: Fix veristat for map type BPF_MAP_TYPE_CGRP_STORAGE

BPF_MAP_TYPE_CGRP_STORAGE doesn't allow non-zero max_entries. So veristat
should not set it to 1.

Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250613050001.1058733-1-song@kernel.org
tools/testing/selftests/bpf/veristat.c