diff options
author | Mykyta Yatsenko <yatsenko@meta.com> | 2025-06-17 13:15:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-15 12:13:39 +0200 |
commit | 443430e67868c7f7d121784de538f93fbc1d59cd (patch) | |
tree | 04008053fd2bd88e97ac401876bbb6fae2b077fb /tools/bpf/bpftool/net.c | |
parent | 274bf55fcd3fdac52f80d20f8695f3ced5483fb6 (diff) |
selftests/bpf: Fix unintentional switch case fall through
[ Upstream commit 66ab68c9de89672366fdc474f4f185bb58cecf2d ]
Break from switch expression after parsing -n CLI argument in veristat,
instead of falling through and enabling comparison mode.
Fixes: a5c57f81eb2b ("veristat: add ability to set BPF_F_TEST_SANITY_STRICT flag with -r flag")
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20250617121536.1320074-1-mykyta.yatsenko5@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/net.c')
0 files changed, 0 insertions, 0 deletions