diff options
| author | Mahe Tardy <mahe.tardy@gmail.com> | 2026-07-09 14:48:59 +0000 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2026-07-10 11:56:56 +0200 |
| commit | 49d07ba673bbbbde876f6854282961ccf67acd93 (patch) | |
| tree | a628b824630a84d89608759e79716ffe7463a0e3 /tools/perf/scripts/python/bin | |
| parent | 340a40df94e2566b83f5e8ad529c7fe8c7c96d80 (diff) | |
selftests/bpf: Add bpf_icmp_send recursion test
This test is similar to test_icmp_send_unreach_cgroup but checks that,
in case of recursion, meaning that the BPF program calling the kfunc was
re-triggered by the icmp_send done by the kfunc, the kfunc will stop
early and return -EBUSY.
The test attaches to the root cgroup to ensure the ICMP packet generated
by the kfunc re-triggers the BPF program.
Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Reviewed-by: Jordan Rife <jordan@jrife.io>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://lore.kernel.org/bpf/20260709144900.245904-5-mahe.tardy@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
