bpf: Use bpf_map_get_next_key() from the library
authorMickaël Salaün <mic@digikod.net>
Thu, 9 Feb 2017 23:21:42 +0000 (00:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 20:56:07 +0000 (15:56 -0500)
commit5f155c2563592b1908a7df2dcbd44893fde3e419
tree2d5180d924a46e900d302326c023c9f9415cf965
parente58383b803499bd623b737070038af94d0b8a3c7
bpf: Use bpf_map_get_next_key() from the library

Replace bpf_map_next_key() with bpf_map_get_next_key() calls.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h
tools/testing/selftests/bpf/bpf_sys.h
tools/testing/selftests/bpf/test_lru_map.c
tools/testing/selftests/bpf/test_maps.c