]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80242b59b8a000d762e20353c3457ed78daec4b7
tree59c6854e9aa0c6a7a8f4098fe32a330e1be03c57
parent0b4db0432ae136f05da2a19608f481571b3f5043
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