samples/bpf: Reset global variables
authorMickaël Salaün <mic@digikod.net>
Wed, 8 Feb 2017 20:27:43 +0000 (21:27 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Feb 2017 20:22:53 +0000 (17:22 -0300)
commita734fb5d60067a73dd7099a58756847c07f9cd68
tree43ba5f18777b9e525b6c4a7bbcdefa829e342ee9
parent16ad1329002f905c643a438ddcfb0a180787850a
samples/bpf: Reset global variables

Before loading a new ELF, clean previous kernel version, license and
processed sections.

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-3-mic@digikod.net
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
samples/bpf/bpf_load.c