mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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 | ||