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

Unverified Commit ea009740 authored by Sarannya S's avatar Sarannya S Committed by Alexander Winkowski
Browse files

net: qrtr: Use xa_load in qrtr_get_service_id



In qrtr_get_service_id, use xa_load instead of node_get to check
if the node exists or not. Calling node_get from interrupt context
can cause potential deadlock since it calls into xa_store to
allocate the node if it does not exist.

Change-Id: Ida9f7a113417f0d184c0903004d94dd2eca6c472
Signed-off-by: default avatarSarannya S <quic_sarannya@quicinc.com>
parent 691b0199
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