bpf: testing: fix devmap tests
authorJohn Fastabend <john.fastabend@gmail.com>
Thu, 27 Jul 2017 00:32:07 +0000 (17:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Jul 2017 21:13:20 +0000 (14:13 -0700)
commit81f6bf81270ce1052b5cd4d60b9edc40cd5ceefa
tree17a303f64acc325b3a4d5d4baa029ab11d532383
parente9e3807738698be2a8a52b44848f7343579c430e
bpf: testing: fix devmap tests

Apparently through one of my revisions of the initial patches
series I lost the devmap test. We can add more testing later but
for now lets fix the simple one we have.

Fixes: 546ac1ffb70d "bpf: add devmap, a map for storing net device references"
Reported-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/test_maps.c