Re: usb: free DMA mappings if enqueue fails

Greg KH <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Fri, Jun 08, 2007 at 01:37:49PM -0700, Pete Zaitcev wrote:
> This patch releases DMA resources if enqueue fails in the HCD.
> 
> Linux had this bug ever since we converted from virt_to_bus for 2.4.
> It is difficult to hit. A user would need a significant memory pressure
> or some other unusual condition.
> 
> It was reported to me by IBM. They ran a management application for
> RSA II adapters which sent Bulk requests to an Interrupt endpoint.
> Submissions got rejected by HCD due to an invalid interval value
> and the swiotlb pool became depleted in the matter of hours.
> 
> We fixed the invalid interval issue in devio.c separately, but this
> seems to be a bug worth fixing as well.
> 
> Signed-off-by: Pete Zaitcev <[email protected]>

Thanks, do you think this should go in before 2.6.22 is released?

greg k-h

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