commit | 5b32a23e1d879b78ee72144311314eccf7581bf4 | [log] [tgz] |
---|---|---|
author | Stanislav Fomichev <sdf@google.com> | Tue Nov 20 17:11:21 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Nov 21 23:26:14 2018 +0100 |
tree | 495e4f551a51d726483bb5aa77ff7ed621faf574 | |
parent | 94cb310cfaa16582cd49ebbeea5925e8f49324a1 [diff] |
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>