OSDN Git Service

msm: adsprpc: destroy mutex before file free
authorTharun Kumar Merugu <mtharu@codeaurora.org>
Wed, 11 Jul 2018 09:50:08 +0000 (15:20 +0530)
committerTharun Kumar Merugu <mtharu@codeaurora.org>
Wed, 11 Jul 2018 09:50:08 +0000 (15:20 +0530)
commitc2eebf8cdfec8df01f2bf1024f13a6a98e552337
treeaecc823a6d0dc4229bf95fd343620c45beecac62
parenta37cd25c9475f5074787a7288c1cf037aad23177
msm: adsprpc: destroy mutex before file free

Destroy mutex before file free, to avoid use after free of mutex.

Change-Id: I4ff73dc17b15043eacbb299219a379bfd1a8efa6
Acked-by: Himateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
drivers/char/adsprpc.c