Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpftool: Use libbpf_get_error() to check error #2125

Closed
wants to merge 2 commits into from

Conversation

kernel-patches-bot
Copy link

Pull request for series with
subject: bpftool: Use libbpf_get_error() to check error
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=579805

Nobody and others added 2 commits November 14, 2021 17:34
Currently, LIBBPF_STRICT_ALL mode is enabled by default for
bpftool which means on error cases, some libbpf APIs would
return NULL pointers. This makes IS_ERR check failed to detect
such cases and result in segfault error. Use libbpf_get_error()
instead like we do in libbpf itself.

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
@kernel-patches-bot
Copy link
Author

Master branch: 325d956
series: https://patchwork.kernel.org/project/netdevbpf/list/?series=579805
version: 1

@kernel-patches-bot
Copy link
Author

At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=579805 irrelevant now. Closing PR.

@kernel-patches-bot kernel-patches-bot deleted the series/579805=>bpf-next branch November 15, 2021 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants