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: I3ba468997d486abb68560cf43b8110095c1969dd
Signed-off-by:
Divisha Bisht <quic_divibish@quicinc.com>
Loading
Please sign in to comment