diff options
author | 2024-12-09 20:10:54 -0800 | |
---|---|---|
committer | 2024-12-10 10:24:57 -0800 | |
commit | b238e187b4a2d3b54d80aec05a9cab6466b79dde (patch) | |
tree | e2118335dc7d6aabf72b8a171eb448119278cbbe /scripts/lib/kdoc/kdoc_parser.py | |
parent | bpf: add find_containing_subprog() utility function (diff) | |
download | wireguard-linux-b238e187b4a2d3b54d80aec05a9cab6466b79dde.tar.xz wireguard-linux-b238e187b4a2d3b54d80aec05a9cab6466b79dde.zip |
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 <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20241210041100.1898468-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions