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

Commit 5b0f4db4 authored by Atish Kumar Patra's avatar Atish Kumar Patra
Browse files

soc: qcom: qmi: Fix wait event in handle destroy



If there is a packet in flight during ssr, send failure and
handle destruction can happen simultaneously. Although, the
handle is freed only after the transactions lists are empty,
the list check and wakeup happen without any locks held. This
may lead to a free after use crash when wakeup is triggered
after handle is freed.

Invoke wakeup and list check with appropriate lock being held.

CRs-Fixed: 899087
Change-Id: I38306cfe12e0c7ffb1f54b091a23cecb487ae9a0
Signed-off-by: default avatarAtish Kumar Patra <apatra@codeaurora.org>
parent 81a98d6e
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