commit | e70e13e7d4ab8f932f49db1c9500b30a34a6d420 | [log] [tgz] |
---|---|---|
author | Matteo Croce <mcroce@microsoft.com> | Fri Feb 04 01:55:18 2022 +0100 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Feb 04 11:26:26 2022 -0800 |
tree | 09970a466f1760a876c05dd41d9655e511faa29d | |
parent | b5e975d256dbfebd62413eb04fbff6803f02a43c [diff] |
bpf: Implement bpf_core_types_are_compat(). Adopt libbpf's bpf_core_types_are_compat() for kernel duty by adding explicit recursion limit of 2 which is enough to handle 2 levels of function prototypes. Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220204005519.60361-2-mcroce@linux.microsoft.com