On Fri, Nov 20, 2009 at 10:49:56PM +0100, Oliver Neukum wrote: > Am Freitag, 20. November 2009 22:22:59 schrieb Dmitry Torokhov: > > Hi Oliver, > > > > On Fri, Nov 20, 2009 at 10:13:47PM +0100, Oliver Neukum wrote: > > > Hi, > > > > > > an open() between killing the urb and unregistering the device > > > can lead to IO to a disconnected device. > > > > usbtouch_close() calls usb_kill_urb() so there is no race. > > usb_kill_urb() simply not needed in usbtouch_disconnect(). > > Then it needs to go. > Applied, thank you Oliver. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html