Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 48c6301b authored by Shrenuj Bansal's avatar Shrenuj Bansal Committed by Stephen Boyd
Browse files

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.

Change-Id: I6be64ca75f9cb12b03e870b9ca83588197c64e5e
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent a06fbc96
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment