drm: Fix use-after-free in the shadow-attache exit code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 30 Jan 2014 16:58:38 +0000 (17:58 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Mar 2014 03:09:03 +0000 (13:09 +1000)
commit27410e8248c64f5c6d28891389083b1022c15a10
tree20fbbf1fe3c923e999d07740ce8f98c625c18bca
parent218212722f681fb31b24749776984fd809eec2f2
drm: Fix use-after-free in the shadow-attache exit code

This regression has been introduced in

commit b3f2333de8e81b089262b26d52272911523e605f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Dec 11 11:34:31 2013 +0100

    drm: restrict the device list for shadow attached drivers

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_pci.c