Re: disconnect and uas_work_list

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

 



On Thursday 16 August 2012 16:03:36 Sebastian Andrzej Siewior wrote:
> On Tue, Aug 14, 2012 at 05:48:56PM +0200, Oliver Neukum wrote:
> > going through uas it looks to me like there is a race by which
> > uas_do_work() can walk uas_work_list and do IO to a device
> > after it has been removed. This makes me wonder why you used
> > a single global list. Could you comment on that and tell me whether
> > I missed something subtle?
> 
> No, you are right. If the command EP was closed and the URB submission then it
> will retry over and over again.

Well, what remedy would you suggest?

	Regards
		Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" 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]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux