summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorPrasad Sodagudi <psodagud@codeaurora.org>2015-03-25 09:45:07 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:04:29 -0700
commit85f869dd57f2df41462a9439cfa2eeed2f164dba (patch)
tree6e7f04df3bbae470e08b97c595b00f39cd367f4e /include/uapi/linux
parent114a9f67b6466c43cc2ebb8a97eea94b3d87086a (diff)
ion: validate ion client in ion_debug_client_show() and extract data
ion client can get created and destroyed dynamically. Client data struct may not be in proper state if one core is reading client information and other core is destroying the same client. There is no synchronization between ion_debug_client_show() and ion_client_destroy(), that leaves client data structures in uncertain state and which may lead to system crash. So add a check in ion_debug_client_show(), to verify whether the client is part of ion device rb tree or not before retrieving client data. CRs-Fixed: 743714 Change-Id: Ic4c2f9dff905d9bb8fbf2e56b7c6396dc01bdf8f Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions