USB: option close race
authorOliver Neukum <oneukum@suse.de>
Tue, 20 Mar 2007 12:41:21 +0000 (13:41 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:37 +0000 (13:28 -0700)
commit7d28e74b97c8eb859fd9f5eb018bb1c75627bd55
tree4c574a625a044bf3d6dc1ebd7cbacbb4a1f0732f
parent4f93b3e8212df43ff380e118aebb68f6d1e5b060
USB: option close race

the option driver does not directly use usb_kill_urb(). It uses a wrapper.
This wrapper means that callbacks which are running are not killed during
close, resubmitting and illicitly pushing data into the tty layer.
The whole purpose of usb_kill_urb() is subverted. The wrapper must be removed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Matthias Urlichs <smurf@smurf.noris.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/option.c