linux/drivers/base
Stefani Seibold fbb88fadf7 driver-core: fix potential race condition in drivers/base/dd.c
This patch fix a potential race condition in the driver_bound() function
in the file driver/base/dd.c.

The broadcast of the BUS_NOTIFY_BOUND_DRIVER notifier should be done
after adding the new device to the driver list. Otherwise notifier
listener will fail if they use functions like usb_find_interface().

The patch is against kernel 2.6.33. Please merge it.

Signed-off-by: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-21 09:37:29 -07:00
..
power PM / Runtime: Add sysfs debug files 2010-05-10 23:08:17 +02:00
attribute_container.c
base.h
bus.c
class.c
core.c
cpu.c drivers/base/cpu.c: fix the output from /sys/devices/system/cpu/offline 2010-05-21 09:37:28 -07:00
dd.c driver-core: fix potential race condition in drivers/base/dd.c 2010-05-21 09:37:29 -07:00
devres.c
devtmpfs.c
dma-coherent.c
dma-mapping.c
driver.c
firmware_class.c Driver core: Reduce the level of request_firmware() messages 2010-05-21 09:37:29 -07:00
firmware.c
hypervisor.c
init.c
iommu.c
isa.c
Kconfig
Makefile
map.c
memory.c Revert "memory-hotplug: add 0x prefix to HEX block_size_bytes" 2010-04-09 10:05:33 -07:00
module.c
node.c nodemask: include slab.h from drivers/base/node.c 2010-04-07 06:41:41 +09:00
platform.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6 2010-05-20 09:03:55 -07:00
sys.c
topology.c
transport_class.c