summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorEduard Zingerman <eddyz87@gmail.com>2025-11-14 12:05:42 -0800
committerAlexei Starovoitov <ast@kernel.org>2025-11-14 13:29:12 -0800
commite5d2e34e726bb657f56f9374ade194828c7d379a (patch)
tree2e33419301c8cf79b95b03ee9c13b894fa319068 /tools/testing/selftests/bpf/prog_tests
parentc1da3df7191f1b4df9256bcd30d78f78201e1d17 (diff)
bpf: Add missing checks to avoid verbose verifier log
There are a few places where log level is not checked before calling "verbose()". This forces programs working only at BPF_LOG_LEVEL_STATS (e.g. veristat) to allocate unnecessarily large log buffers. Add missing checks. Reported-by: Emil Tsalapatis <emil@etsalapatis.com> Signed-off-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20251114200542.912386-1-eddyz87@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions