Re: [patch]race between disconnect and open in usbtouchscreen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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().

Thanks.

-- 
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

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux