[openib-general] [PATCH] IB/SRP - leaking memory,

Vu Pham vuhuong at mellanox.com
Mon Nov 27 11:17:47 PST 2006


Roland Dreier wrote:
> Thanks, good catch.  One question:
> 
>  > +	target->alloc_iu_bufs = 1;
> 
> Is there any reason to introduce this new flag, instead of just
> testing, say, whether rx_ring[0] is NULL?
> 
>  - R.

No good reason other than it represents tx_ring & rx_ring 
allocation

-vu
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: srp_leaking_mem.patch
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20061127/3a84f74b/attachment.ksh>


More information about the general mailing list