Files
linux/drivers/base
Alan Stern fa8e26457e Driver core: fix race in dev_driver_string
commit 3589972e51 upstream.

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: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-18 14:04:17 -08:00
..
2009-09-22 07:17:27 -07:00