On Mon, 18 May 2020 11:52:34 +0200
Jesper Dangaard Brouer <[email protected]> wrote:
> ... I'm getting unrelated compile errors for selftests/bpf in
> bpf-next tree (HEAD 96586dd9268d2).
>
> The compile error, see below signature, happens in
> ./progs/bpf_iter_ipv6_route.c
> (tools/testing/selftests/bpf/progs/bpf_iter_ipv6_route.c).
>
> Related to commit:
> 7c128a6bbd4f ("tools/bpf: selftests: Add iterator programs for ipv6_route
> and netlink") (Author: Yonghong Song)
After re-compiling the kernel in the same tree, this issue goes away.
I guess this is related to:
#include "vmlinux.h"
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer