diff options
author | 2019-05-29 10:36:07 -0700 | |
---|---|---|
committer | 2019-05-30 01:23:35 +0200 | |
commit | f102154d3158c8fe9713f03bd3492f9cb8409a5e (patch) | |
tree | e918eaca7be57a5434071c4766ce48bd5ee087f4 /kernel/bpf/devmap.c | |
parent | libbpf: check map name retrieved from ELF (diff) | |
download | wireguard-linux-f102154d3158c8fe9713f03bd3492f9cb8409a5e.tar.xz wireguard-linux-f102154d3158c8fe9713f03bd3492f9cb8409a5e.zip |
libbpf: fix error code returned on corrupted ELF
All of libbpf errors are negative, except this one. Fix it.
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'kernel/bpf/devmap.c')
0 files changed, 0 insertions, 0 deletions