diff options
author | Alan Stern <[email protected]> | 2009-12-04 11:06:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-12-11 11:24:55 -0800 |
commit | 3589972e51fac1e02d0aaa576fa47f568cb94d40 (patch) | |
tree | 05e89c751f410a3b54583f948ff9ffc841c333ea /net/lapb/lapb_iface.c | |
parent | c60e0504c8e4fa14179d0687d80ef25148dd6dd4 (diff) |
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 <[email protected]>
Cc: stable <[email protected]>
Cc: Oliver Neukum <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions