Re: [PATCH net-next 2/2] samples/bpf: fix bpf loader

2016-11-24 Thread David Miller
From: Alexei Starovoitov Date: Tue, 22 Nov 2016 16:52:09 -0800 > llvm can emit relocations into sections other than program code > (like debug info sections). Ignore them during parsing of elf file > > Signed-off-by: Alexei Starovoitov Applied.

Re: [PATCH net-next 2/2] samples/bpf: fix bpf loader

2016-11-23 Thread Daniel Borkmann
On 11/23/2016 01:52 AM, Alexei Starovoitov wrote: llvm can emit relocations into sections other than program code (like debug info sections). Ignore them during parsing of elf file Signed-off-by: Alexei Starovoitov Acked-by: Daniel Borkmann

[PATCH net-next 2/2] samples/bpf: fix bpf loader

2016-11-22 Thread Alexei Starovoitov
llvm can emit relocations into sections other than program code (like debug info sections). Ignore them during parsing of elf file Signed-off-by: Alexei Starovoitov --- samples/bpf/bpf_load.c | 4 1 file changed, 4 insertions(+) diff --git a/samples/bpf/bpf_load.c b/samples/bpf/bpf_load.c