diff options
author | Song Liu <[email protected]> | 2023-11-06 20:57:23 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-11-09 19:07:38 -0800 |
commit | 74523c06ae20b83c5508a98af62393ac34913362 (patch) | |
tree | fed41c7eb41d0ded5f654e08fc939648363ddae9 /tools/perf/scripts/python/task-analyzer.py | |
parent | 9b75dbeb36fcd9fc7ed51d370310d0518a387769 (diff) |
bpf: Add __bpf_dynptr_data* for in kernel use
Different types of bpf dynptr have different internal data storage.
Specifically, SKB and XDP type of dynptr may have non-continuous data.
Therefore, it is not always safe to directly access dynptr->data.
Add __bpf_dynptr_data and __bpf_dynptr_data_rw to replace direct access to
dynptr->data.
Update bpf_verify_pkcs7_signature to use __bpf_dynptr_data instead of
dynptr->data.
Signed-off-by: Song Liu <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Vadim Fedorenko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions