diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-05-17 15:27:19 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-22 13:30:58 +0400 |
commit | 7eb3b2c83dccddec34787adf67c10c82331d262e (patch) | |
tree | e0ed94761ce60de62328f818c57480f0ee753441 /drivers/gpu/drm/drm_lock.c | |
parent | af437cfd355275a62e45ce8281ef5cc57c953bbc (diff) | |
download | linux-7eb3b2c83dccddec34787adf67c10c82331d262e.tar.xz |
drm: Delete the vblank timer synchronously at cleanup time
A race condition exists in drm_vblank_cleanup() if the vblank disable
timer callback runs after freeing the memory that its callback function
tries to access. Fix this by deleting the timer synchronously.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_lock.c')
0 files changed, 0 insertions, 0 deletions