]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/bpf: Verify bpf_timer_cancel_async works
authorMykyta Yatsenko <yatsenko@meta.com>
Sun, 1 Feb 2026 02:54:00 +0000 (18:54 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 4 Feb 2026 00:58:47 +0000 (16:58 -0800)
commitfe9d205cec8ccdd13171a056257101374306e802
tree08cf066f136287d94a1b181d2f9f9ee85ed27229
parentd02fdd7195ca24005e36a6f7efed41f9c0ca7f72
selftests/bpf: Verify bpf_timer_cancel_async works

Add test that verifies that bpf_timer_cancel_async works: can cancel
callback successfully.

Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20260201025403.66625-7-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/prog_tests/timer.c
tools/testing/selftests/bpf/progs/timer.c