Skip to content
Commit a989f5c6 authored by Lloyd Atkinson's avatar Lloyd Atkinson
Browse files

drm/msm: use local non-blocking flag to avoid use after free



Avoid checking nonblock flag in the commit packet that gets
dispatched to a worker thread, since that worker thread may free
the commit packet before the dispatch thread has a chance to
read it again after the commit dispatch loop.

Change-Id: Idcbc17dd1cb6df15d0f9607b589587d6f03ee4ff
Signed-off-by: default avatarLloyd Atkinson <latkinso@codeaurora.org>
parent 1d9aee75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment