summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorAndrii Nakryiko2019-06-13 07:04:57 +0200
committerDaniel Borkmann2019-06-15 01:14:08 +0200
commite55d54f43d3f11718d9e2800225097fda498e141 (patch)
tree06cd75e0a0bade9f0d12da0504d50adb1abc9f07 /arch/sparc
parentselftests/bpf: signedness bug in enable_all_controllers() (diff)
downloadkernel-qcow2-linux-e55d54f43d3f11718d9e2800225097fda498e141.tar.gz
kernel-qcow2-linux-e55d54f43d3f11718d9e2800225097fda498e141.tar.xz
kernel-qcow2-linux-e55d54f43d3f11718d9e2800225097fda498e141.zip
libbpf: fix check for presence of associated BTF for map creation
Kernel internally checks that either key or value type ID is specified, before using btf_fd. Do the same in libbpf's map creation code for determining when to retry map creation w/o BTF. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: fba01a0689a9 ("libbpf: use negative fd to specify missing BTF") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions