Re: cdc-wdm: race between reset and work queue

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

 



On Thu, 2015-01-15 at 17:52 +0100, Bjørn Mork wrote:
> Oliver Neukum <oneukum@xxxxxxx> writes:
> 
> > Hi,
> >
> > I think I found a race between pre_reset() and the bottom half.
> > In wdm_rxwork() WDM_RESETTING is not checked for. That means that
> >
> > wdm_pre_reset() cannot reliable end IO. What do you think?
> 
> Yes, it certainly looks that way.  There are too many flags meaning
> "end IO"... 

So you think I should consolidate the flags rather add a check?

	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