Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 191e1975 authored by Balakrishna Godavarthi's avatar Balakrishna Godavarthi Committed by Greg Kroah-Hartman
Browse files

Bluetooth: hci_serdev: clear HCI_UART_PROTO_READY to avoid closing proto races



[ Upstream commit 7cf7846d27bfc9731e449857db3eec5e0e9701ba ]

Clearing HCI_UART_PROTO_READY will avoid usage of proto function pointers
before running the proto close function pointer. There is chance of kernel
crash, due to usage of non proto close function pointers after proto close.

Signed-off-by: default avatarBalakrishna Godavarthi <bgodavar@codeaurora.org>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a8d3a426
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment