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:
Divisha Bisht <quic_divibish@quicinc.com>
Loading
Please register or sign in to comment