drm: Fix use-after-free in the shadow-attache exit code
authorDaniel Vetter <[email protected]>
Thu, 30 Jan 2014 16:58:38 +0000 (17:58 +0100)
committerDaniel Vetter <[email protected]>
Mon, 17 Mar 2014 10:23:31 +0000 (11:23 +0100)
commitc94adc4a65c67a79f0d19285bf5c32fe4c00176f
treeb99db2b775b3c0de3fc631c09abe8dceb2f47a2f
parent04cfe97eb11c28848d14ba8c88124da31a9f881c
drm: Fix use-after-free in the shadow-attache exit code

This regression has been introduced in

commit b3f2333de8e81b089262b26d52272911523e605f
Author: Daniel Vetter <[email protected]>
Date:   Wed Dec 11 11:34:31 2013 +0100

    drm: restrict the device list for shadow attached drivers

Reported-by: Dave Jones <[email protected]>
Cc: Dave Jones <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: David Herrmann <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Reviewed-by: David Herrmann <[email protected]>
drivers/gpu/drm/drm_pci.c