samples/bpf: Ignore already processed ELF sections
authorMickaël Salaün <mic@digikod.net>
Wed, 8 Feb 2017 20:27:42 +0000 (21:27 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Feb 2017 20:22:47 +0000 (17:22 -0300)
commit16ad1329002f905c643a438ddcfb0a180787850a
tree1de3fcc86edb4c0e2fea34464a875c1ff91a2557
parentaf392a8f5399e831cb502ff210dacef8b38ca513
samples/bpf: Ignore already processed ELF sections

Add a missing check for the map fixup loop.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Acked-by: Joe Stringer <joe@ovn.org>
Acked-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: David S. Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Link: http://lkml.kernel.org/r/20170208202744.16274-2-mic@digikod.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
samples/bpf/bpf_load.c