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: NStanislav Fomichev <sdf@google.com> Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
Showing
想要评论请 注册 或 登录