diff options
author | Amery Hung <ameryhung@gmail.com> | 2025-09-25 10:00:13 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-09-25 14:52:09 -0700 |
commit | 1193c46c1745cf809dead55ece4f3baa728f316c (patch) | |
tree | ec2e1986eed1c9071701b28738492bc8a77e17a7 /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c | |
parent | bc8712f2b5250825968e6b0c3d2709a4b9d5d570 (diff) |
selftests/bpf: Test changing packet data from global functions with a kfunc
The verifier should invalidate all packet pointers after a packet data
changing kfunc is called. So, similar to commit 3f23ee5590d9
("selftests/bpf: test for changing packet data from global functions"),
test changing packet data from global functions to make sure packet
pointers are indeed invalidated.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250925170013.1752561-2-ameryhung@gmail.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions