aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/timer_crash.c
AgeCommit message (Collapse)AuthorFilesLines
2022-02-11selftests/bpf: Add test for bpf_timer overwriting crashKumar Kartikeya Dwivedi1-0/+54
Add a test that validates that timer value is not overwritten when doing a copy_map_value call in the kernel. Without the prior fix, this test triggers a crash. Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]