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

Commit bc856c7c authored by Yong Ding's avatar Yong Ding
Browse files

soc: qcom: hab: add rx queue empty check after getting the lock



Need to do empty check again when we have the lock of the rx queue of
a given virtual channel. Without this check, it is possible that the
list head of the queue will be wrongly taken as a valid message node
if the valid message has already been fetched by some other thread.

Change-Id: I65f73acd86fe2fb709e2af2ffeaa42581b4168ca
Signed-off-by: default avatarYong Ding <yongding@codeaurora.org>
parent 85edf1b9
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