Commit dd8c3b5e authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian
Browse files

msm: ipc_router: Avoid destroying and then accessing wakelocks



When a port is closed, receive wakelock of that port gets destroyed
before the port is removed from the internal table. This leads to
another thread accessing the wakelock of the port which is in the
middle of close operation. So remove the port from the internal table
and then destroy the corresponding wakelocks.

Change-Id: Iddc6e58658de55989a32410acf2cf007d2ba4a54
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent ec6fd7af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment