Files
linux/kernel
Daniel Jordan 57ddfecc72 padata: Fix list iterator in padata_do_serial()
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>
2022-11-25 17:39:18 +08:00
..
2022-09-28 09:02:20 +02:00
2022-09-26 19:46:18 -07:00
2021-12-02 17:25:21 +09:00
2022-08-29 19:47:03 -04:00
2022-09-26 10:13:13 -07:00
2021-09-08 15:32:35 -07:00
2022-03-15 10:32:44 +01:00
2022-09-01 16:55:35 +02:00
2022-06-29 13:07:16 +02:00
2022-02-25 09:36:06 +01:00