samples/bpf: add map_flags to bpf loader
authorAlexei Starovoitov <ast@fb.com>
Tue, 8 Mar 2016 05:57:20 +0000 (21:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2016 20:28:32 +0000 (15:28 -0500)
commit89b976070190eb9dd14943c0d6ca4b7209f61405
tree36762c9aedfdf442e89148c0079e6cc1cbebbd57
parent3622e7e4935105991dc648bca650c858576aecda
samples/bpf: add map_flags to bpf loader

note old loader is compatible with new kernel.
map_flags are optional

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/bpf_helpers.h
samples/bpf/bpf_load.c
samples/bpf/fds_example.c
samples/bpf/libbpf.c
samples/bpf/libbpf.h
samples/bpf/sock_example.c
samples/bpf/test_maps.c
samples/bpf/test_verifier.c