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

Skip to content
Commit 23199b17 authored by Deepak Kumar Singh's avatar Deepak Kumar Singh Committed by Chris Lew
Browse files

net: qrtr: avoid deadlock in case of recursive lock for node list



Qrtr node list lock can be taken recursively by a thread and
in between other thread can contend the same lock for write,
this marks the lock as write biased and results in deadlock.

Changed qrtr code to avoid taking node list lock recursively
and prevent possible deadlock scenario.

CR-Fixed: 2384092
Change-Id: Idcdd1b3dbc8c19867c8afcde40ae4dcf08d87d66
Signed-off-by: default avatarDeepak Kumar Singh <deesin@codeaurora.org>
parent 6d7bdde9
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