Daniel Jordan
26c0f7e1ac
padata: Fix list iterator in padata_do_serial()
...
[ Upstream commit 57ddfecc72a6c9941d159543e1c0c0a74fe9afdd ]
list_for_each_entry_reverse() assumes that the iterated list is nonempty
and that every list_head is embedded in the same type, but its use in
padata_do_serial() breaks both rules.
This doesn't cause any issues now because padata_priv and padata_list
happen to have their list fields at the same offset, but we really
shouldn't be relying on that.
Fixes: bfde23ce20 ("padata: unbind parallel jobs from specific CPUs")
Signed-off-by: Daniel Jordan <daniel.m.jordan@oracle.com >
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2022-12-31 13:14:24 +01:00
..
2022-12-31 13:14:18 +01:00
2022-12-14 11:37:19 +01:00
2022-05-25 09:57:37 +02:00
2022-10-05 10:39:40 +02:00
2022-09-20 12:39:42 +02:00
2022-12-31 13:14:01 +01:00
2022-12-31 13:14:04 +01:00
2022-12-02 17:41:09 +01:00
2022-12-31 13:14:03 +01:00
2021-09-02 13:00:15 -07:00
2022-10-26 12:34:30 +02:00
2022-09-20 12:39:42 +02:00
2022-12-31 13:14:01 +01:00
2022-06-09 10:22:49 +02:00
2022-10-26 12:35:29 +02:00
2022-12-31 13:14:01 +01:00
2022-08-17 14:24:24 +02:00
2022-12-31 13:14:18 +01:00
2021-09-08 11:50:26 -07:00
2022-02-23 12:03:07 +01:00
2022-08-31 17:16:33 +02:00
2021-08-24 18:52:36 -04:00
2022-02-08 18:34:03 +01:00
2022-04-08 14:23:06 +02:00
2022-04-08 14:23:06 +02:00
2022-06-22 14:22:04 +02:00
2021-09-08 15:32:35 -07:00
2021-08-16 18:55:32 +02:00
2022-12-31 13:14:04 +01:00
2021-12-29 12:28:49 +01:00
2022-02-23 12:03:20 +01:00
2022-07-21 21:24:11 +02:00
2022-12-31 13:14:00 +01:00
2021-08-17 17:50:51 +02:00
2021-08-30 16:36:10 +02:00
2022-07-21 21:24:29 +02:00
2021-09-08 15:32:34 -07:00
2022-11-26 09:24:50 +01:00
2022-12-31 13:14:04 +01:00
2022-07-12 16:35:09 +02:00
2021-08-16 18:55:32 +02:00
2021-09-03 09:58:12 -07:00
2022-12-31 13:14:24 +01:00
2021-08-30 16:36:10 +02:00
2021-08-16 14:42:22 +02:00
2021-09-03 09:58:12 -07:00
2021-08-10 12:53:07 +02:00
2022-08-17 14:24:04 +02:00
2022-06-09 10:22:29 +02:00
2022-12-31 13:14:05 +01:00
2022-04-08 14:23:43 +02:00
2022-04-08 14:23:10 +02:00
2022-06-09 10:22:46 +02:00
2021-11-18 19:16:29 +01:00
2022-02-16 12:56:38 +01:00
2022-07-21 21:24:42 +02:00
2022-08-17 14:24:24 +02:00
2021-08-10 14:57:42 +02:00
2021-08-10 22:50:07 +02:00
2022-02-23 12:03:07 +01:00
2022-04-13 20:59:28 +02:00
2022-04-13 20:59:28 +02:00
2022-04-13 20:59:28 +02:00
2022-08-31 17:16:33 +02:00
2022-02-23 12:03:20 +01:00
2022-12-08 11:28:45 +01:00
2021-08-10 10:48:07 -07:00
2021-08-16 11:39:51 -04:00
2022-01-27 11:05:35 +01:00
2022-02-23 12:03:20 +01:00
2022-03-08 19:12:42 +01:00
2021-09-08 11:50:27 -07:00
2022-08-03 12:03:43 +02:00
2022-08-25 11:40:43 +02:00
2021-08-17 07:49:10 -10:00
2022-09-28 11:11:56 +02:00