bpf: additional sockmap self tests
authorJohn Fastabend <john.fastabend@gmail.com>
Mon, 28 Aug 2017 14:11:05 +0000 (07:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 18:13:21 +0000 (11:13 -0700)
commit6fd28865c2a7e5ea12cb1f7ef3edee5a2042905e
tree94e1075e7705c812987453b5eb6b9ad230f20ffb
parentd26e597d87635d90128fafb3f6bb0a14d972d952
bpf: additional sockmap self tests

Add some more sockmap tests to cover,

 - forwarding to NULL entries
 - more than two maps to test list ops
 - forwarding to different map

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/bpf/sockmap_parse_prog.c
tools/testing/selftests/bpf/sockmap_verdict_prog.c
tools/testing/selftests/bpf/test_maps.c