OSDN Git Service

diag: Add missing protection while accessing session's info
authorHardik Arya <harya@codeaurora.org>
Mon, 9 Apr 2018 09:19:40 +0000 (14:49 +0530)
committerHardik Arya <harya@codeaurora.org>
Tue, 7 Aug 2018 12:24:41 +0000 (17:54 +0530)
commit280b89e72c92a4b6fc51ea0813ec270f379c5086
treede2271b06cd44692829903117a19797c272ef364
parent11ee621aea156ba9e1854335b0708f42fca975c7
diag: Add missing protection while accessing session's info

Currently, mutex protection is missing while accessing md session's
info via macro. The patch adds proper protection before accessing
the same.

Change-Id: I17b18183407279447229783fd0165337bd173423
Signed-off-by: Hardik Arya <harya@codeaurora.org>
drivers/char/diag/diag_masks.c