Commit 7d789e8d authored by Divisha Bisht's avatar Divisha Bisht Committed by Eruvaram Kumar Raja Reddy
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: I3ba468997d486abb68560cf43b8110095c1969dd
Signed-off-by: default avatarDivisha Bisht <quic_divibish@quicinc.com>
parent 83f93db0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment