On Mon, Jun 07, 2004 at 02:21:26PM -0700, David Brownell wrote:
> Tao Huang wrote:
> >I'm writing udc driver for S3C2410. I found RNDIS almost not call my
> >driver's free_request and free_buffer. So after run my driver about 3
> >hours the system will out of memory. 
> >
> >This patch will fix the memory leak. 
> >
> >There will still have memory leak when driver unload, but I don't known
> >where is the proper place to fix it.
> >1) rndis.c should free resp_queue when it unload
> >2) ether.c should free tx_reqs and rx_reqs when it unload (as
> >eth_reset_config)
> 
> Thanks ... this is a nice patch to have.
> 
> I rebuilt the patch in standard form (patch -p1 from treetop)
> and signed off on the result, which I attached.

Applied, thanks.

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to