Skip to content
Commit 5b32a23e authored by Stanislav Fomichev's avatar Stanislav Fomichev Committed by Daniel Borkmann
Browse files

bpf: libbpf: don't specify prog name if kernel doesn't support it



Use recently added capability check.

See commit 23499442 ("bpf: libbpf: retry map creation without
the name") for rationale.

Signed-off-by: default avatarStanislav Fomichev <sdf@google.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 94cb310c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment