On Mon, Jun 03, 2002 at 11:15:02AM +0200, Ilya Lifshits wrote:
> Hello all,
> 
> Linux duran 2.4.18 #6 SMP Sun Jun 2 02:29:13 IDT 2002 i686 unknown
> 
> I experienced a memory leak due one shot interrupt transfer. I search the 
> web and find that there is
> 
>http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.4/usb-usb-uhci-2.4.18-pre6.patch
> 
> that should
> fix this leak. So i downloaded 2.4.18 kernel and seems to me that there is 

No, this patch was for synchronous unlinks.

> still leak here ( i tested
> same code with uhci and there is no leak)
> I'm doing something wrong or leak still here ?

There is a asynchronous unlink (a call to  uhci_unlink_urb_async) of the urb
after the completion, so it should be freed. Can you add some debugging to
uhci_clean_iso_step1/2 to verify this with oyur code?

> Below test code and explanation.

A quick inspection showed no obvious problems in your code...
-- 
         Georg Acher, [EMAIL PROTECTED]         
         http://www.in.tum.de/~acher/
          "Oh no, not again !" The bowl of petunias          

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to