kcm: use BPF_PROG_RUN
authorSami Tolvanen <samitolvanen@google.com>
Thu, 5 Sep 2019 21:15:28 +0000 (14:15 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 6 Sep 2019 17:04:31 +0000 (10:04 -0700)
commita2c11b034142b9de9ab236aeeb53d6f39c3508aa
tree230a620e228aa92bdda7b68d1e34fadad5de2d6a
parent8f6e19ab49bd5e3e490cf3d6d9412f91a732fb2c
kcm: use BPF_PROG_RUN

Instead of invoking struct bpf_prog::bpf_func directly, use the
BPF_PROG_RUN macro.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
net/kcm/kcmsock.c