Re: [PATCH bpf-next] selftests/bpf: fix compilation error of bpf_iter_task_stack.c

2020-07-03 Thread Daniel Borkmann
On 7/3/20 8:17 PM, Song Liu wrote: selftests/bpf shows compilation error as libbpf: invalid relo for 'entries' in special section 0xfff2; forgot to initialize global var?.. Fix it by initializing 'entries' to zeros. Fixes: c7568114bc56 ("selftests/bpf: Add bpf_iter test with bpf_get_tas

[PATCH bpf-next] selftests/bpf: fix compilation error of bpf_iter_task_stack.c

2020-07-03 Thread Song Liu
selftests/bpf shows compilation error as libbpf: invalid relo for 'entries' in special section 0xfff2; forgot to initialize global var?.. Fix it by initializing 'entries' to zeros. Fixes: c7568114bc56 ("selftests/bpf: Add bpf_iter test with bpf_get_task_stack()") Reported-by: Jesper Dangaar