diff options
author | Yonghong Song <yhs@fb.com> | 2021-02-26 12:49:20 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-02-26 13:23:52 -0800 |
commit | efdb22de7dcd3b24b8154b3c3ba496f62afea00c (patch) | |
tree | 37efc018f6e6244e1afd33de75cdb0c8bc09c562 /mm/memcontrol.c | |
parent | 86fd166575c38c17ecd3a6b8fb9c64fa19871486 (diff) |
bpf: Factor out visit_func_call_insn() in check_cfg()
During verifier check_cfg(), all instructions are
visited to ensure verifier can handle program control flows.
This patch factored out function visit_func_call_insn()
so it can be reused in later patch to visit callback function
calls. There is no functionality change for this patch.
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210226204920.3884136-1-yhs@fb.com
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions