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:
Arun Kumar Neelakantam <aneela@codeaurora.org>
Loading
Please register or sign in to comment