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

Replace bpf_map_update() with bpf_map_update_elem() 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_lpm_map.c
tools/testing/selftests/bpf/test_lru_map.c
tools/testing/selftests/bpf/test_maps.c