From: James Morse Date: Thu, 16 Mar 2017 14:30:39 +0000 (+0000) Subject: ACPI / APEI: Add missing synchronize_rcu() on NOTIFY_SCI removal X-Git-Tag: v3.2.91~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaff01dc896bef8a6caba0b55019a98b80a23397;p=pandora-kernel.git ACPI / APEI: Add missing synchronize_rcu() on NOTIFY_SCI removal commit 7d64f82cceb21e6d95db312d284f5f195e120154 upstream. 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 Reviewed-by: "Huang, Ying" Fixes: 81e88fdc432a (ACPI, APEI, Generic Hardware Error Source POLL/IRQ/NMI notification type support) Signed-off-by: Rafael J. Wysocki Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed