diff options
author | Stanislav Fomichev <sdf@google.com> | 2018-11-20 17:11:21 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-11-21 23:26:14 +0100 |
commit | 5b32a23e1d879b78ee72144311314eccf7581bf4 (patch) | |
tree | 495e4f551a51d726483bb5aa77ff7ed621faf574 /tools/testing | |
parent | bpf: libbpf: remove map name retry from bpf_create_map_xattr (diff) | |
download | linux-dev-5b32a23e1d879b78ee72144311314eccf7581bf4.tar.xz linux-dev-5b32a23e1d879b78ee72144311314eccf7581bf4.zip |
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/testing')
0 files changed, 0 insertions, 0 deletions