Daniel Jordan
ff28b8afb7
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:32:34 +01:00
..
2022-12-31 13:32:26 +01:00
2022-12-08 10:40:58 -08:00
2022-09-28 09:02:20 +02:00
2022-09-26 19:46:18 -07:00
2022-10-10 17:53:04 -07:00
2022-10-03 14:03:25 -07:00
2022-12-31 13:31:56 +01:00
2022-12-31 13:31:58 +01:00
2022-11-22 18:50:41 -08:00
2022-12-31 13:31:58 +01:00
2022-10-11 17:42:58 -06:00
2022-10-10 11:36:19 -07:00
2022-10-11 17:42:55 -06:00
2022-12-31 13:32:10 +01:00
2022-12-31 13:31:55 +01:00
2022-09-29 15:20:52 +02:00
2022-10-20 15:34:49 -07:00
2022-12-31 13:31:55 +01:00
2022-10-11 17:42:55 -06:00
2022-12-31 13:32:26 +01:00
2022-09-26 19:46:22 -07:00
2022-08-22 18:50:06 -04:00
2022-09-01 17:39:30 -04:00
2022-08-29 19:47:03 -04:00
2022-09-07 11:30:15 -04:00
2022-10-04 11:05:43 -07:00
2022-09-26 19:46:09 -07:00
2022-09-26 10:13:13 -07:00
2022-12-31 13:31:59 +01:00
2022-08-28 14:02:44 -07:00
2022-09-26 19:46:07 -07:00
2022-10-12 11:00:22 -07:00
2022-09-11 21:55:11 -07:00
2022-12-31 13:31:53 +01:00
2022-09-07 21:53:50 +02:00
2022-09-29 04:40:15 +09:00
2022-09-30 16:50:39 +02:00
2022-10-03 17:11:07 -07:00
2022-10-03 14:03:23 -07:00
2022-09-11 21:55:08 -07:00
2022-09-11 21:55:06 -07:00
2022-09-11 21:55:06 -07:00
2022-09-11 21:55:06 -07:00
2022-11-18 10:15:34 +09:00
2022-09-11 21:55:06 -07:00
2022-10-09 16:01:59 -07:00
2022-09-11 21:55:12 -07:00
2022-10-03 14:03:20 -07:00
2022-09-13 10:38:43 -07:00
2022-12-31 13:32:34 +01:00
2022-09-01 16:55:35 +02:00
2022-09-11 21:55:12 -07:00
2022-09-07 21:53:50 +02:00
2022-10-04 15:59:36 +02:00
2022-12-31 13:32:00 +01:00
2022-11-14 09:58:32 +01:00
2022-10-10 09:10:28 -07:00
2022-10-10 12:49:34 -07:00
2022-09-11 21:55:10 -07:00
2022-08-20 15:17:45 -07:00
2022-10-10 10:41:21 -07:00
2022-09-08 16:56:45 -07:00
2022-12-05 12:09:06 -08:00
2022-09-11 21:55:10 -07:00
2022-08-29 12:47:15 +01:00
2022-09-26 13:01:18 -04:00
2022-09-07 21:53:50 +02:00
2022-10-09 16:24:05 -07:00
2022-10-23 12:01:01 -07:00
2022-10-03 17:11:07 -07:00