Ming Lei 26c71a79ca USB: usb-skeleton.c: fix open/disconnect race
If usb device is disconnected between usb_get_intfdata()
and kref_get() in skel_open(), kref_get may access a freed
object.

Also check if device is disconnected in ->open.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-04 15:52:41 -08:00
..
2011-11-17 02:11:42 -05:00
2011-11-29 18:39:37 -05:00
2011-12-09 14:26:11 +11:00
2011-12-07 09:06:37 -08:00
2011-12-05 17:06:37 +01:00
2011-11-14 10:47:01 -06:00
2011-10-31 19:31:57 -04:00