diff options
author | Eduard Zingerman <[email protected]> | 2024-12-09 20:10:54 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-12-10 10:24:57 -0800 |
commit | b238e187b4a2d3b54d80aec05a9cab6466b79dde (patch) | |
tree | e2118335dc7d6aabf72b8a171eb448119278cbbe /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 27e88bc4df1d80888fe1aaca786a7cc6e69587e2 (diff) |
bpf: refactor bpf_helper_changes_pkt_data to use helper number
Use BPF helper number instead of function pointer in
bpf_helper_changes_pkt_data(). This would simplify usage of this
function in verifier.c:check_cfg() (in a follow-up patch),
where only helper number is easily available and there is no real need
to lookup helper proto.
Signed-off-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions