Commit b863b34f authored by Divisha Bisht's avatar Divisha Bisht Committed by Vishakha Malik
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>
(cherry picked from commit 392fcd22)
parent e2d0f3e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment