fixed another leak in USB code

From: John-Mark Gurney <gurney_j_at_efn.org>
Date: Mon, 28 Jul 2003 22:11:33 -0700
Ok, those of you coming with panics due to kmem exhaustion w/ USB, I
have fixed another leak.  For some reason I assumed that big blocks
were being deallocated upon free, not being put back on the freelist.
(Have I mentioned how much it sucks that the USB code it self has five
different allocators?)

As mentioned in the commit message, I did some testing, and a simple
bulk transfer over aue did not increase the devbuf memory usage, while
before this patch, I got it quickly over 20megs and growing.

Sorry for the breakage.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Mon Jul 28 2003 - 20:11:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:16 UTC