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

Skip to content
Commit 392fcd22 authored by Divisha Bisht's avatar Divisha Bisht
Browse files

msm-4.19: qseecom: Fix possible race condition



Fix possible race condition in data->type value in case of multithreaded
listener or app IOCTLs.

For example, below could cause inconsistent data->type value while
racing belows IOCTLs

Thread1 with QSEECOM_IOCTL_REGISTER_LISTENER_REQ
Thread2 with QSEECOM_IOCTL_UNREGISTER_LISTENER_REQ.

Change-Id: I0f90cc9ec815803f62d407d8581cba781de5c332
Signed-off-by: default avatarDivisha Bisht <quic_divibish@quicinc.com>
parent 09012c0a
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