commit | be316c9c24186e53739cde39a367081d646072ed | [log] [tgz] |
---|---|---|
author | Padma, Santhosh Kumar <skpadma@qti.qualcomm.com> | Mon Sep 14 18:29:55 2015 +0530 |
committer | Satyanarayana Dash <sadash@codeaurora.org> | Wed Sep 16 18:25:18 2015 +0530 |
tree | 2211f8c21fa37da992139fc89ddb328d097e214c | |
parent | 0433841ab1575ad7af565fa49405fe63cd68e736 [diff] |
prima: Protect pHashTable with lock Functions limIsDeauthDiassocForDrop in Rx thread context and peDeleteSession in MC thread context can access variable pHashTable simulataneously. This can lead to crash as memory for pHashTable can be deleted in MC thread context and the same can be referenced in Rx thread context. Fix this by protecting usage of pHashTable with a lock. Change-Id: If6346f4cf5b2a2386a8866e03b9a9fbcb514e78e CRs-Fixed: 906431