On Fri, Dec 07, 2018 at 04:53:13PM -0800, Roman Gushchin wrote: > If key_type or value_type are of non-trivial data types > (e.g. structure or typedef), it's not possible to check them without > the additional information, which can't be obtained without a pointer > to the btf structure. > > So, let's pass btf pointer to the map_check_btf() callbacks. Acked-by: Martin KaFai Lau <ka...@fb.com>
- [PATCH bpf-next 1/3] bpf: pass struct btf pointer to the ma... Roman Gushchin
- [PATCH bpf-next 3/3] selftests/bpf: add btf annotation... Roman Gushchin
- [PATCH bpf-next 2/3] bpf: add bpffs pretty print for c... Roman Gushchin
- Re: [PATCH bpf-next 2/3] bpf: add bpffs pretty pri... Yonghong Song
- Re: [PATCH bpf-next 2/3] bpf: add bpffs pretty pri... Martin Lau
- Re: [PATCH bpf-next 2/3] bpf: add bpffs pretty... Roman Gushchin
- Re: [PATCH bpf-next 1/3] bpf: pass struct btf pointer ... Martin Lau