| commit | 97c7dae87a35c4936d532c97d770fea3864a29e9 | [log] [tgz] |
|---|---|---|
| author | Hareesh Gundu <hareeshg@codeaurora.org> | Thu Mar 27 11:51:52 2014 +0530 |
| committer | Hareesh Gundu <hareeshg@codeaurora.org> | Thu Mar 27 16:51:52 2014 +0530 |
| tree | fb95a24cff7f1c44f7e727339bfac1961816960c | |
| parent | 4fce4d7de8962aa73c8c949e946d6089dda3f12e [diff] |
msm: kgsl: fix a race condition when calling kref_put Fix a race condition which can occur if a thread tries to acquire a reference to a mem_entry or context while another thread has already decremented the refcount to 0 and is in the process of destroying said mem_entry or context. CRs-Fixed: 635747 Change-Id: I6be64ca75f9cb12b03e870b9ca83588197c64e5e Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>