summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlan Stern2009-12-04 17:06:57 +0100
committerGreg Kroah-Hartman2009-12-11 20:24:55 +0100
commit3589972e51fac1e02d0aaa576fa47f568cb94d40 (patch)
tree05e89c751f410a3b54583f948ff9ffc841c333ea /drivers/usb
parentDriver Core: Early platform driver buffer (diff)
downloadkernel-qcow2-linux-3589972e51fac1e02d0aaa576fa47f568cb94d40.tar.gz
kernel-qcow2-linux-3589972e51fac1e02d0aaa576fa47f568cb94d40.tar.xz
kernel-qcow2-linux-3589972e51fac1e02d0aaa576fa47f568cb94d40.zip
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>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions