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

Commit 464238bf authored by Alok Chauhan's avatar Alok Chauhan
Browse files

msm: camera: ope: Move request id validity check outside of lock



In some corner cases, flush request and cdm callback can
run in parallel. This may lead to data curruption in cdm
callback if bl request gets freed by flush.

As lock is also part of corrupted data structure hence move
the request validity check outside of lock in cdm callback
to prevent this issue.

CRs-Fixed: 2615308
Change-Id: I2b166eb491e394000a63d0fe4e6d001ba3ddef76
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent 9ecddf02
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