Files
linux/drivers
Rafael J. Wysocki 0985838a9c ACPI: bus: Ensure that notify handlers are not running after removal
[ Upstream commit faae443738 ]

Currently, acpi_device_remove_notify_handler() may return while the
notify handler being removed is still running which may allow the
module holding that handler to be torn down prematurely.

Address this issue by making acpi_device_remove_notify_handler() wait
for the handling of all the ACPI events in progress to complete before
returning.

Fixes: 5894b0c46e ("ACPI / scan: Move bus operations and notification routines to bus.c")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:16 +09:00
..
2023-04-20 12:35:08 +02:00
2023-02-09 11:28:25 +01:00
2023-04-06 12:10:44 +02:00
2023-05-11 23:03:02 +09:00
2023-03-10 09:34:32 +01:00