diff options
| author | 2023-04-06 16:41:56 -0700 | |
|---|---|---|
| committer | 2023-04-11 18:05:43 +0200 | |
| commit | 8a6ca6bc553e3c878fa53c506bc6ec281efdc039 (patch) | |
| tree | 909f38061d67bc33561cb8d80f850df7db2b2804 /scripts/Makefile.thinlto | |
| parent | bpf: Avoid incorrect -EFAULT error in BPF_LOG_KERNEL mode (diff) | |
bpf: Simplify logging-related error conditions handling
Move log->level == 0 check into bpf_vlog_truncated() instead of doing it
explicitly. Also remove unnecessary goto in kernel/bpf/verifier.c.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Lorenz Bauer <lmb@isovalent.com>
Link: https://lore.kernel.org/bpf/20230406234205.323208-11-andrii@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
