aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2014-07-24 12:12:45 +0200
committerDave Airlie <[email protected]>2014-08-05 11:06:52 +1000
commit168c02ec06f891990617cee2abbba70858c071e7 (patch)
treebbcb2fde44a5856c61594436bbe6854559073da3 /tools/perf/scripts/python/syscall-counts.py
parentdff01de1c3cafb128344fe809cbca84606b1b65c (diff)
drm: Fix race when checking for fb in the generic kms obj lookup
In my review of commit 98f75de40e9d83c3a90d294b8fd25fa2874212a9 Author: Rob Clark <[email protected]> Date: Fri May 30 11:37:03 2014 -0400 drm: add object property typ I asked for a check to make sure that we never leak an fb from the generic mode object lookup since those have completely different lifetime rules. Rob added it, but outside of the idr mutex, which means that our dereference of obj->type can already chase free'd memory. Somehow I didn't spot this, so fix this asap. v2: Simplify the conditionals as suggested by Chris. Cc: Rob Clark <[email protected]> Cc: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Rob Clark <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions