diff options
author | Maarten Lankhorst <[email protected]> | 2015-11-11 11:29:08 +0100 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2015-11-17 13:02:13 +0200 |
commit | 4572372847680ee04f184df916d5cf007c94ff7e (patch) | |
tree | 8eafa5ba14dc1ce9da881cc04d3471df6ea39e5a /tools/perf/scripts/python/stackcollapse.py | |
parent | 24e79d0ddc416184594aa8193023c15d85ab15db (diff) |
drm/core: Fix old_fb handling in drm_mode_atomic_ioctl.
plane_mask should be cleared inside the retry loop, because it gets
reset on every retry. Without this fix the plane->fb refcounting might
get out of sync on retries, resulting in either leaked memory or
use-after-free.
Signed-off-by: Maarten Lankhorst <[email protected]>
Cc: [email protected] #v4.3
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions