Re: URB IRQ fires on URB after usb_kill_urb() already completed

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

 



On Fri, 20 Feb 2015, Devin Heitmueller wrote:

> > If you want to trace things in greater detail, look at the value of
> > urb->use_count at various points.  usb_kill_urb won't return until the
> > value reaches 0, which should not occur until well after
> > usb_hcd_unlink_urb_from_ep returns.
> 
> Good suggestion.  I'll add code to print it out before and after
> usb_kill_urb(), as well as from within the the IRQ handler and right
> before the call to usb_free_urb().
> 
> I was kind of hoping you would chime in and say, "Oh that?  I fixed
> that six months ago in 3.15 via this patch."  No such luck, I guess...

Something like that may very well have happened, but I don't remember 
it.

Alan Stern

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