soc: qcom: glink_pkt: Add mutex in glink_pkt_read
Glink_pkt_read calls glink_queue_rx_intent without mutex lock.
This result in race condition where glink_queue_rx_intent generates
same intent id for two intents.
Mutex lock is added to avoid race condition in glink_queue_rx_intent.
CRs-Fixed: 2026579
Change-Id: Iedb9a8874193479154ebb932fa8ff80703402215
Signed-off-by:
Dhoat Harpal <hdhoat@codeaurora.org>
Loading
Please register or sign in to comment