Jiasheng Jiang
d3aa3e060c
dm stats: check for and propagate alloc_percpu failure
...
Check alloc_precpu()'s return value and return an error from
dm_stats_init() if it fails. Update alloc_dev() to fail if
dm_stats_init() does.
Otherwise, a NULL pointer dereference will occur in dm_stats_cleanup()
even if dm-stats isn't being actively used.
Fixes: fd2ed4d25270 ("dm: add statistics support")
Cc: stable@vger.kernel.org
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
2023-03-16 13:37:06 -04:00
..
2023-01-25 12:24:50 -08:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2021-10-27 16:53:47 -04:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-17 14:49:12 -05:00
2021-04-19 13:20:31 -04:00
2020-03-27 14:42:51 -04:00
2023-02-14 14:23:08 -05:00
2023-02-14 14:23:06 -05:00
2023-03-09 10:04:38 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-17 14:49:21 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:08 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:08 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-03-16 13:37:06 -04:00
2023-03-16 13:37:06 -04:00
2023-02-14 14:23:08 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:08 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-03-06 16:37:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2022-09-07 16:37:27 -07:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:06 -05:00
2023-02-14 14:23:07 -05:00
2021-06-04 12:07:24 -04:00
2023-02-14 14:23:07 -05:00
2022-07-14 12:14:31 -06:00
2023-03-16 13:37:06 -04:00
2023-02-14 14:23:06 -05:00
2022-02-16 19:39:09 -07:00
2022-08-02 14:38:59 -07:00
2022-08-02 17:22:46 -06:00
2022-11-14 09:35:50 -08:00
2018-08-01 15:49:39 -07:00
2022-08-23 14:54:54 -05:00
2018-10-18 09:36:35 -07:00
2022-02-04 07:43:18 -07:00
2022-05-22 23:07:21 -07:00
2020-05-13 12:02:23 -07:00
2022-05-22 23:07:21 -07:00
2018-05-30 15:33:32 -06:00
2023-01-12 10:42:16 -08:00
2022-12-02 11:21:01 -08:00
2022-11-14 10:15:34 -08:00
2019-09-13 13:10:05 -07:00
2022-03-08 15:16:54 -08:00
2022-12-07 09:43:12 -07:00
2022-03-08 15:16:54 -08:00
2022-11-14 10:15:35 -08:00
2022-08-02 17:14:31 -06:00
2022-11-14 10:15:35 -08:00
2022-09-22 00:05:06 -07:00
2022-09-22 00:05:04 -07:00
2022-12-07 09:43:12 -07:00
2022-09-22 00:05:05 -07:00