diff options
author | 2020-04-26 14:36:35 +0800 | |
---|---|---|
committer | 2020-04-27 14:43:20 +0200 | |
commit | e411eb257b331bf44cbe8845b5351260c8222c6c (patch) | |
tree | 170b90071dc2c6fa576a1586698d4cbee4da60ee /kernel/sched/core.c | |
parent | Merge branch 'cloudflare-prog' (diff) | |
download | wireguard-linux-e411eb257b331bf44cbe8845b5351260c8222c6c.tar.xz wireguard-linux-e411eb257b331bf44cbe8845b5351260c8222c6c.zip |
libbpf: Return err if bpf_object__load failed
bpf_object__load() has various return code, when it failed to load
object, it must return err instead of -EINVAL.
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200426063635.130680-3-maowenan@huawei.com
Diffstat (limited to 'kernel/sched/core.c')
0 files changed, 0 insertions, 0 deletions