diff options
author | Mehrdad Arshad Rad <[email protected]> | 2021-11-04 10:13:54 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-11-05 16:26:08 +0100 |
commit | 64165ddf8ea184631c65e3bbc8d59f6d940590ca (patch) | |
tree | 2a8ae49c88215275af118296c4afcd23d8fd2384 /kernel/gcov/gcov.h | |
parent | e41ac2020bca4acdb7485ddca34098f68d3af5ae (diff) |
libbpf: Fix lookup_and_delete_elem_flags error reporting
Fix bpf_map_lookup_and_delete_elem_flags() to pass the return code through
libbpf_err_errno() as we do similarly in bpf_map_lookup_and_delete_elem().
Fixes: f12b65432728 ("libbpf: Streamline error reporting for low-level APIs")
Signed-off-by: Mehrdad Arshad Rad <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions