summaryrefslogtreecommitdiff
path: root/drivers/pci/msi.c
diff options
context:
space:
mode:
authorManeesh Soni <maneesh@in.ibm.com>2005-08-16 22:15:48 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-17 04:06:24 (GMT)
commit208f3d6175cb17772c5af202fe12373f90894ff4 (patch)
tree86265a0aa2a8007e181e9edb279b2fab81b812ee /drivers/pci/msi.c
parent12aaa0855b39b5464db953fedf399fa91ee365ed (diff)
downloadlinux-fsl-qoriq-208f3d6175cb17772c5af202fe12373f90894ff4.tar.xz
[PATCH] Driver core: potentially fix use after free in class_device_attr_show
This moves the code to free devt_attr from class_device_del() to class_dev_release() which is called after the last reference to the corresponding kobject() is gone. This allows us to keep the devt_attr alive while the corresponding sysfs file is open. Signed-off-by: Maneesh Soni <maneesh@in.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pci/msi.c')
0 files changed, 0 insertions, 0 deletions