Skip to content
Snippets Groups Projects
Commit 4199dd8e authored by Luis Gerhorst's avatar Luis Gerhorst
Browse files

bpf: Refactor do_check() if/else into do_check_insn()

Move code ito do_check_insn(), replace
- "continue" with "return CHECK_NEXT_INSN"
- "break" with "return ALL_PATHS_CHECKED"
- "do_print_state = " with "*do_print_state = "
- "goto process_bpf_exit" / fallthrough with "return process_bpf_exit()"
parent 53099ca2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment