Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The bpf_attr::attach_btf_obj_fd is set to -1 when loading prog for vmlinux kfunc/kretfunc, which results in EINVAL. Set it to 0 instead. Closes iovisor#4607. Signed-off-by: Hengqi Chen <[email protected]>
- Loading branch information