diff options
| author | Zhihao Cheng <[email protected]> | 2021-06-09 11:59:16 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-06-11 22:31:09 +0000 |
| commit | ca16b429f39b4ce013bfa7e197f25681e65a2a42 (patch) | |
| tree | 4a80bc04925b32035eeda57111de61558c9268f4 /tools/lib/bpf/netlink.c | |
| parent | libbpf: Simplify the return expression of bpf_object__init_maps function (diff) | |
| download | kernel-ca16b429f39b4ce013bfa7e197f25681e65a2a42.tar.gz kernel-ca16b429f39b4ce013bfa7e197f25681e65a2a42.zip | |
tools/bpftool: Fix error return code in do_batch()
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 668da745af3c2 ("tools: bpftool: add support for quotations ...")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhihao Cheng <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions
