aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/bpf.h
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-03-03 10:08:00 -0800
committerAlexei Starovoitov <ast@kernel.org>2020-03-03 16:41:36 -0800
commit320a36063e1441210106aa33997ad3770d4c86b4 (patch)
treea8b7de3d5af8f83f95546557c6a888d52396ca94 /include/linux/bpf.h
parentMerge branch 'bpf_gso_size' (diff)
downloadwireguard-linux-320a36063e1441210106aa33997ad3770d4c86b4.tar.xz
wireguard-linux-320a36063e1441210106aa33997ad3770d4c86b4.zip
libbpf: Fix handling of optional field_name in btf_dump__emit_type_decl
Internal functions, used by btf_dump__emit_type_decl(), assume field_name is never going to be NULL. Ensure it's always the case. Fixes: 9f81654eebe8 ("libbpf: Expose BTF-to-C type declaration emitting API") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200303180800.3303471-1-andriin@fb.com
Diffstat (limited to 'include/linux/bpf.h')
0 files changed, 0 insertions, 0 deletions