On Fri, 18 May 2001, David Brownell wrote:

>Bad patch.  I've seen oopses when the completion routine
>frees the URB, and then usb-uhci tries to access that URB
>in order to spin_unlock(&urb->lock) ... it's nulled so that
>the HCD knows never to access urbs after they have been
>given back to the device driver.
>
>Note that the FILL_*_URB() macros always re-init the
>spinlock, so the "reuse this URB" path won't care if the
>HC didn't drop the lock.

Does that mean that the FILL_*_URB() macros *must* be called before
resubmitting?

Is everyone doing that?

-- 
Dan Streetman
[EMAIL PROTECTED]


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to