summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/libbpf.h
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@google.com>2018-11-21 04:11:21 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-11-22 01:26:14 +0300
commit5b32a23e1d879b78ee72144311314eccf7581bf4 (patch)
tree495e4f551a51d726483bb5aa77ff7ed621faf574 /tools/lib/bpf/libbpf.h
parent94cb310cfaa16582cd49ebbeea5925e8f49324a1 (diff)
downloadlinux-5b32a23e1d879b78ee72144311314eccf7581bf4.tar.xz
bpf: libbpf: don't specify prog name if kernel doesn't support it
Use recently added capability check. See commit 23499442c319 ("bpf: libbpf: retry map creation without the name") for rationale. Signed-off-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.h')
0 files changed, 0 insertions, 0 deletions