mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
7d64f82cce
When removing a GHES device notified by SCI, list_del_rcu() is used,
ghes_remove() should call synchronize_rcu() before it goes on to call
kfree(ghes), otherwise concurrent RCU readers may still hold this list
entry after it has been freed.
Signed-off-by: James Morse <james.morse@arm.com>
Reviewed-by: "Huang, Ying" <ying.huang@intel.com>
Fixes:
|
||
---|---|---|
.. | ||
apei-base.c | ||
apei-internal.h | ||
bert.c | ||
einj.c | ||
erst-dbg.c | ||
erst.c | ||
ghes.c | ||
hest.c | ||
Kconfig | ||
Makefile |