linux/drivers/base
Alan Stern 3589972e51 Driver core: fix race in dev_driver_string
This patch (as1310) works around a race in dev_driver_string().  If
the device is unbound while the function is running, dev->driver might
become NULL after we test it and before we dereference it.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Cc: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-11 11:24:55 -08:00
..
power PM / Runtime: Remove unnecessary braces in __pm_runtime_set_status() 2009-12-06 16:17:57 +01:00
attribute_container.c
base.h
bus.c Driver core: allow certain drivers prohibit bind/unbind via sysfs 2009-10-30 14:59:51 -07:00
class.c
core.c Driver core: fix race in dev_driver_string 2009-12-11 11:24:55 -08:00
cpu.c
dd.c tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
devres.c
devtmpfs.c Driver-Core: devtmpfs - set root directory mode to 0755 2009-12-11 11:24:52 -08:00
dma-coherent.c
dma-mapping.c
driver.c
firmware_class.c firmware_class: make request_firmware_nowait more useful 2009-12-11 11:24:52 -08:00
firmware.c
hypervisor.c
init.c
iommu.c
isa.c
Kconfig
Makefile
map.c
memory.c
module.c
node.c
platform.c Driver Core: Early platform driver buffer 2009-12-11 11:24:55 -08:00
sys.c
topology.c
transport_class.c