Re: usb: free DMA if enqueue fails

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Thu, 31 May 2007, Pete Zaitcev wrote:

> Release DMA resources if submission fails in the HCD.
> 
> Signed-Off-By: Pete Zaitcev <[email protected]>
> 
> ---
> 
> This seems too obvious. Yet I went back to kernel 2.2.19 and we always
> had this bug (well, in 2.2 we didn't because we used virt_to_bus).
> I'm amazed that such things can lay in plain view for years.
> Am I missing something here?!

Amazing indeed.

Do you think your new routine should be merged with urb_unlink()?   The 
two always get called together.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[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.