UPSTREAM: kcm: use BPF_PROG_RUN
authorSami Tolvanen <samitolvanen@google.com>
Wed, 4 Sep 2019 19:38:57 +0000 (12:38 -0700)
committerCosmin Tanislav <demonsingur@gmail.com>
Thu, 16 May 2024 07:58:22 +0000 (10:58 +0300)
commitc89a36c5ef2d5d5986362c40807cf2985bd5cdcf
tree1bc82613fe3af3bb66d134751ec03bdc1faa48b0
parent2eae054aec382338956a33512a3e812ce3b323b1
UPSTREAM: kcm: use BPF_PROG_RUN

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

Bug: 140377409
Change-Id: I26abeccc8d25af0f412935ed97aebb5c64f52a2a
(cherry picked from commit a2c11b034142 ("kcm: use BPF_PROG_RUN"))
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