diff options
| author | Menglong Dong <menglong8.dong@gmail.com> | 2025-11-10 20:07:05 +0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-11-14 13:31:30 -0800 |
| commit | fea3f5e83c5cd80a76d97343023a2f2e6bd862bf (patch) | |
| tree | 751f4f5d90cac84ef2cdd81cd261c577d9642577 /tools/testing/selftests/bpf/prog_tests | |
| parent | e5d2e34e726bb657f56f9374ade194828c7d379a (diff) | |
bpf: Handle return value of ftrace_set_filter_ip in register_fentry
The error that returned by ftrace_set_filter_ip() in register_fentry() is
not handled properly. Just fix it.
Fixes: 00963a2e75a8 ("bpf: Support bpf_trampoline on functions with IPMODIFY (e.g. livepatch)")
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20251110120705.1553694-1-dongml2@chinatelecom.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions
