Stanislav Fomichev
f67ad87ab3
selftests/bpf: retry tests that expect build-id
...
While running test_progs in a loop I found out that I'm sometimes hitting
"Didn't find expected build ID from the map" error.
Looking at stack_map_get_build_id_offset() it seems that it is racy (by
design) and can sometimes return BPF_STACK_BUILD_ID_IP (i.e. can't trylock
current->mm->mmap_sem).
Let's retry this test a single time.
Fixes: 13790d1cc7
("bpf: add selftest for stackmap with build_id in NMI context")
Acked-by: Song Liu <songliubraving@fb.com >
Signed-off-by: Stanislav Fomichev <sdf@google.com >
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net >
2019-01-17 16:43:18 +01:00
..
2017-05-03 09:51:25 -04:00
2017-11-02 11:10:55 +01:00
2019-01-10 15:53:02 +01:00
2017-11-02 11:10:55 +01:00
2018-12-20 11:53:36 -08:00
2018-12-10 18:00:43 -08:00
2018-05-14 19:11:45 -07:00
2018-02-26 20:11:23 -08:00
2018-08-11 01:58:46 +02:00
2019-01-07 13:15:55 -08:00
2018-07-15 00:08:41 +02:00
2018-11-28 22:13:06 +01:00
2018-12-13 23:42:16 +01:00
2018-12-13 23:42:16 +01:00
2017-11-05 23:26:51 +09:00
2018-10-30 23:31:21 +01:00
2018-06-08 00:10:07 +02:00
2018-06-08 00:10:07 +02:00
2019-01-15 20:53:30 +01:00
2018-10-01 16:18:33 +02:00
2018-12-12 15:33:44 -08:00
2018-01-18 22:54:26 +01:00
2017-12-03 00:27:58 +01:00
2018-05-28 17:41:05 +02:00
2018-05-28 17:41:05 +02:00
2018-07-31 09:33:48 +02:00
2018-03-19 21:14:39 +01:00
2018-03-19 21:14:39 +01:00
2018-03-19 21:14:39 +01:00
2018-07-25 07:46:48 +02:00
2018-07-25 07:46:48 +02:00
2018-04-18 23:34:17 +02:00
2018-11-30 21:38:48 -08:00
2018-11-20 10:54:39 -08:00
2018-11-20 10:54:39 -08:00
2019-01-11 10:40:54 +01:00
2019-01-07 13:15:55 -08:00
2019-01-07 13:15:55 -08:00
2018-09-14 12:04:33 -07:00
2018-11-10 15:56:10 -08:00
2018-04-29 08:45:54 -07:00
2017-04-01 12:45:57 -07:00
2018-06-22 00:30:02 +02:00
2017-12-17 20:34:36 +01:00
2017-05-01 12:43:49 -07:00
2018-02-09 00:24:38 +01:00
2018-11-07 22:20:56 +01:00
2018-12-09 14:37:18 -08:00
2018-12-09 14:37:18 -08:00
2018-12-09 14:37:18 -08:00
2018-02-26 20:11:23 -08:00
2018-02-26 20:11:23 -08:00
2018-05-24 11:57:36 +02:00
2018-08-03 10:19:33 +02:00
2018-11-21 23:33:22 +01:00
2019-01-01 13:48:59 +01:00
2019-01-07 13:15:55 -08:00
2017-06-09 15:15:11 -04:00
2018-07-18 15:10:34 +02:00
2017-05-17 18:45:14 -04:00
2017-08-07 10:06:27 -07:00
2019-01-17 16:43:18 +01:00
2018-10-19 13:24:31 -07:00
2018-10-19 13:24:31 -07:00
2018-09-27 21:14:59 +02:00
2018-08-11 01:58:46 +02:00
2018-08-11 01:58:46 +02:00
2018-08-11 01:58:46 +02:00
2018-11-30 17:17:38 -08:00
2018-08-13 01:02:40 +02:00
2019-01-07 13:15:55 -08:00
2018-10-31 23:05:30 +01:00
2019-01-07 13:15:55 -08:00
2018-10-31 23:05:30 +01:00
2019-01-07 13:15:55 -08:00
2019-01-07 13:15:55 -08:00
2018-05-16 22:00:12 +02:00
2018-05-16 22:00:12 +02:00
2018-11-28 22:07:57 +01:00
2018-11-28 22:07:57 +01:00
2018-10-19 13:24:31 -07:00
2018-04-29 08:45:54 -07:00
2018-04-29 08:45:54 -07:00
2018-02-26 20:11:23 -08:00
2017-05-03 09:51:25 -04:00
2018-09-01 01:37:00 +02:00
2019-01-07 13:15:55 -08:00
2018-07-15 00:08:41 +02:00
2018-11-09 09:40:17 +01:00
2019-01-07 13:15:55 -08:00
2018-11-09 09:40:17 +01:00
2017-12-12 08:46:40 -08:00
2018-04-27 00:11:14 +02:00
2018-06-15 03:31:52 +02:00
2018-02-26 20:11:23 -08:00
2019-01-05 21:32:38 -08:00
2017-09-26 13:36:44 -07:00
2018-02-06 11:34:42 +01:00
2017-12-17 20:34:36 +01:00
2017-08-08 18:12:50 -07:00
2018-02-06 11:34:42 +01:00
2018-10-09 21:59:09 -07:00
2018-10-09 21:59:09 -07:00
2017-05-02 07:52:01 -07:00
2018-10-20 23:13:32 -07:00
2018-06-27 11:01:03 +02:00
2018-05-14 23:29:45 +02:00
2018-09-14 12:04:33 -07:00
2018-09-14 12:04:33 -07:00
2018-11-07 16:23:05 -08:00