bpf: Use the IS_FD_ARRAY() macro in map_update_elem()
authorMickaël Salaün <mic@digikod.net>
Thu, 25 Jan 2018 23:54:02 +0000 (00:54 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 26 Jan 2018 02:05:24 +0000 (18:05 -0800)
commit9c147b56fc7165856da9c510463fafc2f0d58d5f
tree59c6854e9aa0c6a7a8f4098fe32a330e1be03c57
parent82f1e0f3acf04dfd2de95f7ffb824528ecbf0a95
bpf: Use the IS_FD_ARRAY() macro in map_update_elem()

Make the code more readable.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/syscall.c