Am Donnerstag, 15. März 2007 19:39 schrieb Pete Zaitcev:
> On Thu, 15 Mar 2007 14:15:14 +0100, Oliver Neukum <[EMAIL PROTECTED]> wrote:
> 
> > completion handlers:
> > spin_lock(&lock)
> > if (!flag)
> >     usb_submit_urb([ab], GFP_ATOMIC);
> > spin_unlock(&flag);
> 
> Well big DUH, you have to check for shutdown poisoning before
> resubmitting.

usb_kill_urb() was introduced precisely because this was a problem.

        Regards
                Oliver

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to