Alexei Starovoitov
61f71e746c
selftests/bpf: Add a test with bpf_timer in inner map.
...
Check that map-in-map supports bpf timers.
Check that indirect "recursion" of timer callbacks works:
timer_cb1() { bpf_timer_set_callback(timer_cb2); }
timer_cb2() { bpf_timer_set_callback(timer_cb1); }
Check that
bpf_map_release
htab_free_prealloced_timers
bpf_timer_cancel_and_free
hrtimer_cancel
works while timer cb is running.
"while true; do ./test_progs -t timer_mim; done"
is a great stress test. It caught missing timer cancel in htab->extra_elems.
timer_mim_reject.c is a negative test that checks
that timer<->map mismatch is prevented.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20210715005417.78572-12-alexei.starovoitov@gmail.com
2021-07-15 22:31:11 +02:00
..
2020-03-25 11:50:48 +01:00
2020-12-10 13:11:30 -08:00
2021-02-08 17:55:01 -08:00
2021-05-19 00:41:56 +02:00
2021-05-25 17:32:35 -07:00
2020-06-28 10:06:53 -07:00
2021-01-27 18:18:15 -08:00
2021-05-25 17:32:35 -07:00
2020-08-13 16:45:41 -07:00
2021-05-25 17:32:35 -07:00
2021-03-04 16:44:00 +01:00
2020-11-05 18:37:31 -08:00
2021-05-25 17:32:35 -07:00
2021-04-26 18:37:13 -07:00
2021-01-12 17:23:47 -08:00
2020-11-09 16:18:36 -08:00
2020-11-05 18:37:30 -08:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2020-03-02 17:00:41 -08:00
2021-05-25 17:32:35 -07:00
2020-03-02 17:00:41 -08:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-01-20 14:23:00 -08:00
2020-07-02 16:09:01 +02:00
2020-10-07 18:50:27 -07:00
2020-08-13 16:45:41 -07:00
2021-01-08 13:39:24 -08:00
2021-05-25 17:32:35 -07:00
2020-08-01 23:10:42 -07:00
2020-01-20 16:37:45 -08:00
2020-09-21 16:18:00 -07:00
2020-05-01 10:36:32 -07:00
2020-07-01 09:06:12 +02:00
2021-05-19 00:41:44 +02:00
2021-05-19 00:41:44 +02:00
2021-05-25 17:32:35 -07:00
2021-05-19 00:41:44 +02:00
2021-02-11 16:19:13 +01:00
2021-05-19 00:41:44 +02:00
2020-05-09 00:48:20 +02:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-02-26 13:23:53 -08:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2020-09-03 17:33:31 -07:00
2020-08-13 16:45:41 -07:00
2021-02-12 17:37:23 -08:00
2020-11-05 20:04:46 -08:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-05-19 00:41:44 +02:00
2021-05-25 17:32:35 -07:00
2021-05-19 00:41:44 +02:00
2020-10-02 14:59:25 -07:00
2020-09-03 17:14:40 -07:00
2021-05-25 17:32:35 -07:00
2021-04-23 14:05:27 -07:00
2021-04-23 14:05:27 -07:00
2021-04-23 14:05:27 -07:00
2020-07-02 16:09:01 +02:00
2021-05-24 13:30:52 -07:00
2020-11-05 19:55:57 -08:00
2020-05-09 00:48:20 +02:00
2021-04-08 23:54:47 -07:00
2020-09-15 18:28:27 -07:00
2021-06-17 13:05:10 +02:00
2021-04-08 23:54:48 -07:00
2020-03-04 13:41:06 -08:00
2021-04-25 21:09:02 -07:00
2021-04-15 16:50:22 -07:00
2021-05-25 17:32:35 -07:00
2020-09-30 23:21:06 -07:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2020-10-06 11:10:20 -07:00
2020-05-09 00:48:20 +02:00
2020-05-09 00:48:20 +02:00
2020-11-19 11:58:15 -08:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2020-05-09 00:48:20 +02:00
2021-05-25 17:32:35 -07:00
2019-04-26 19:04:19 -07:00
2019-04-26 19:04:19 -07:00
2021-05-25 17:32:35 -07:00
2021-02-11 16:19:24 +01:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-06-17 18:23:55 -07:00
2020-07-25 20:37:02 -07:00
2021-05-25 17:32:35 -07:00
2020-03-05 14:02:41 -08:00
2021-05-25 17:32:35 -07:00
2020-05-09 00:48:20 +02:00
2020-09-18 22:54:52 +02:00
2021-05-25 17:32:35 -07:00
2020-11-12 18:39:28 -08:00
2020-08-13 16:45:41 -07:00
2020-06-01 14:38:21 -07:00
2021-05-11 15:07:17 -07:00
2021-04-26 18:37:13 -07:00
2021-04-30 10:36:59 -07:00
2021-05-25 17:32:35 -07:00
2021-02-11 17:44:41 -08:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-06-29 15:45:27 -07:00
2020-07-16 20:57:09 +02:00
2020-11-16 22:19:07 +01:00
2021-04-08 23:54:47 -07:00
2019-09-06 09:59:05 -07:00
2020-05-09 00:48:20 +02:00
2021-02-10 11:05:34 -08:00
2021-05-25 17:32:35 -07:00
2019-12-17 22:16:35 -08:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2021-05-13 17:23:57 -07:00
2020-11-09 22:15:23 +01:00
2021-05-19 00:33:40 +02:00
2020-09-17 19:56:07 -07:00
2019-08-28 00:35:40 +02:00
2019-08-28 00:35:40 +02:00
2021-02-26 11:51:48 -08:00
2021-05-17 17:52:20 +02:00
2021-05-25 18:00:28 +02:00
2019-08-28 00:35:40 +02:00
2021-05-25 17:32:35 -07:00
2020-07-02 16:09:01 +02:00
2020-12-03 17:23:24 -08:00
2020-08-20 16:02:36 +02:00
2020-11-18 01:36:27 +01:00
2021-02-12 17:37:23 -08:00
2021-03-25 18:39:51 -07:00
2021-02-02 21:21:55 -08:00
2021-04-25 21:09:02 -07:00
2021-05-25 17:32:35 -07:00
2020-10-09 22:03:06 +02:00
2020-11-13 01:42:11 +01:00
2021-07-15 22:31:11 +02:00
2021-07-15 22:31:11 +02:00
2019-05-09 15:53:56 -07:00
2020-09-29 13:09:24 -07:00
2021-05-19 00:42:20 +02:00
2021-05-25 17:32:35 -07:00
2021-05-25 17:32:35 -07:00
2020-08-13 16:45:41 -07:00
2020-03-17 19:29:12 +01:00
2020-05-14 21:21:57 -07:00
2020-04-15 13:26:08 +02:00
2021-05-25 17:32:35 -07:00
2021-07-07 19:51:13 -07:00
2021-07-07 20:01:45 -07:00
2021-07-07 20:01:45 -07:00
2020-04-08 01:35:24 +02:00
2021-05-25 17:32:35 -07:00
2020-10-02 16:46:20 +02:00
2019-12-13 13:09:32 -08:00
2020-05-09 00:48:20 +02:00