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

Skip to content
Commit 8697323f authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam Committed by Gerrit - the friendly Code Review server
Browse files

net: qrtr: Avoid qrtr_node lookup & write lock for every rx packet



For every rx packet acquiring qrtr_node write lock to lookup
the node id can cause the write lock contention and prone to
add the stale node pointer into list while releasing the node.

Add required node id checks and use read lock while lookup.

Change-Id: I768c19f3192263a2eb113c6366b0d68e43bde4f6
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent 418f4a45
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