bpf: Refactor BPF_PSEUDO_CALL checking as a helper function
authorYonghong Song <yhs@fb.com>
Thu, 4 Feb 2021 23:48:27 +0000 (15:48 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Feb 2021 05:51:47 +0000 (21:51 -0800)
commit23a2d70c7a2f28eb1a8f6bc19d68d23968cad0ce
tree800871eb01b21828a7f4f8b96e5fc97a9187f3fd
parentecda49c522f693842d2832ebd5f59ea95064c9a3
bpf: Refactor BPF_PSEUDO_CALL checking as a helper function

There is no functionality change. This refactoring intends
to facilitate next patch change with BPF_PSEUDO_FUNC.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210204234827.1628953-1-yhs@fb.com
kernel/bpf/verifier.c