diff options
| author | Andrii Nakryiko <[email protected]> | 2024-10-23 16:19:16 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-10-24 05:16:45 +0000 |
| commit | 9806f283140ef3e4d259b7646bd8c66026bbaac5 (patch) | |
| tree | d19ea1f532b580ae87eec9a7648a606d32eef5d3 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
| parent | bpf,perf: Fix perf_event_detach_bpf_prog error handling (diff) | |
| download | kernel-9806f283140ef3e4d259b7646bd8c66026bbaac5.tar.gz kernel-9806f283140ef3e4d259b7646bd8c66026bbaac5.zip | |
bpf: fix do_misc_fixups() for bpf_get_branch_snapshot()
We need `goto next_insn;` at the end of patching instead of `continue;`.
It currently works by accident by making verifier re-process patched
instructions.
Reported-by: Shung-Hsi Yu <[email protected]>
Fixes: 314a53623cd4 ("bpf: inline bpf_get_branch_snapshot() helper")
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Acked-by: Shung-Hsi Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions
