projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04cfe97
)
drm: Fix use-after-free in the shadow-attache exit code
author
Daniel Vetter
<
[email protected]
>
Thu, 30 Jan 2014 16:58:38 +0000
(17:58 +0100)
committer
Daniel Vetter
<
[email protected]
>
Mon, 17 Mar 2014 10:23:31 +0000
(11:23 +0100)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_pci.c
b/drivers/gpu/drm/drm_pci.c
index 5736aaa7e86cb069d30fd458b5842fd42defae17..f7af69bcf3f452aff52647d830e3f1497ad21dca 100644
(file)
--- a/
drivers/gpu/drm/drm_pci.c
+++ b/
drivers/gpu/drm/drm_pci.c
@@
-468,8
+468,8
@@
void drm_pci_exit(struct drm_driver *driver, struct pci_driver *pdriver)
} else {
list_for_each_entry_safe(dev, tmp, &driver->legacy_dev_list,
legacy_dev_list) {
- drm_put_dev(dev);
list_del(&dev->legacy_dev_list);
+ drm_put_dev(dev);
}
}
DRM_INFO("Module unloaded\n");