diag: Synchronize socket read_work_fn and close
Currently there is a possibility of NULL pointer dereference
because of synchronization is missing in socket read_work_fn
and close. The patch adds mutex protection to fix this issue.
Change-Id: I82f9907dd233e8cb5811cc380e4813b6541a5420
Signed-off-by:
Hardik Arya <harya@codeaurora.org>
Loading
Please register or sign in to comment