Skip to content

Commit 81c4b95

Browse files
d-tatianingregkh
authored andcommitted
ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired
[ Upstream commit c53d96a ] This bug was first introduced in c27f3d0, where the author of the patch probably meant to do DeleteMutex instead of ReleaseMutex. The mutex leak was noticed later on and fixed in e4dfe10, but the bogus MutexRelease line was never removed, so do it now. Link: acpica/acpica#982 Fixes: c27f3d0 ("ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling") Signed-off-by: Daniil Tatianin <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Rafael J. Wysocki <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent c6c217c commit 81c4b95

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/acpi/acpica/evxfregn.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,6 @@ acpi_remove_address_space_handler(acpi_handle device,
232232

233233
/* Now we can delete the handler object */
234234

235-
acpi_os_release_mutex(handler_obj->address_space.
236-
context_mutex);
237235
acpi_ut_remove_reference(handler_obj);
238236
goto unlock_and_exit;
239237
}

0 commit comments

Comments
 (0)