diff options
| author | Amery Hung <ameryhung@gmail.com> | 2025-09-22 16:33:52 -0700 |
|---|---|---|
| committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-09-23 13:35:12 -0700 |
| commit | 0e7a733ab3d7be8d745e8ee38d637ea7a9b24343 (patch) | |
| tree | 77c033d216d4f20bda2be2f01f76dc51be5fb7b8 /rust/helpers/vmalloc.c | |
| parent | 4dce1a0d7cf39575a5880414ea882890edd8d26f (diff) | |
bpf: Clear packet pointers after changing packet data in kfuncs
bpf_xdp_pull_data() may change packet data and therefore packet pointers
need to be invalidated. Add bpf_xdp_pull_data() to the special kfunc
list instead of introducing a new KF_ flag until there are more kfuncs
changing packet data.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250922233356.3356453-5-ameryhung@gmail.com
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions
