samples/bpf: Fix compilation issue in redirect dummy program
authorTariq Toukan <tariqt@mellanox.com>
Thu, 31 Aug 2017 11:16:39 +0000 (14:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Aug 2017 18:56:57 +0000 (11:56 -0700)
commit3edcf18ec2a8665fec060a05535fca6be16a61de
treeb8d363585b7d886c30b4f21e34bc84ab9e3fb84a
parentf16ded5948a5e6a399161bd71e866b198952ea5f
samples/bpf: Fix compilation issue in redirect dummy program

Fix compilation error below:

$ make samples/bpf/

LLVM ERROR: 'xdp_redirect_dummy' label emitted multiple times to
assembly file
make[1]: *** [samples/bpf/xdp_redirect_kern.o] Error 1
make: *** [samples/bpf/] Error 2

Fixes: 306da4e685b4 ("samples/bpf: xdp_redirect load XDP dummy prog on TX device")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/xdp_redirect_kern.c
samples/bpf/xdp_redirect_map_kern.c