diff options
| author | Mykyta Yatsenko <yatsenko@meta.com> | 2025-09-24 15:29:54 +0100 | 
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2025-09-25 11:00:01 -0700 | 
| commit | 5730dacb3f172858ca47b8b1aeab083b5713f24b (patch) | |
| tree | 088d7cb3167d4bfa995f9bfa8a343cde1b34d187 /rust/helpers/vmalloc.c | |
| parent | dd948aa63ee48e3032804bd10c87a0f4edaa3515 (diff) | |
selftests/bpf: Task_work selftest cleanup fixes
task_work selftest does not properly handle cleanup during failures:
 * destroy bpf_link
 * perf event fd is passed to bpf_link, no need to close it if link was
 created successfully
 * goto cleanup if fork() failed, close pipe.
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250924142954.129519-2-mykyta.yatsenko5@gmail.com
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
