Re: limits of usb_kill_urb()

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Novell
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.