[openib-general] Re: [PATCH][kdapl] resend add missing kfree

James Lentini jlentini at netapp.com
Wed May 18 07:16:04 PDT 2005


Committed in revision 2378.

On Wed, 18 May 2005, Itamar wrote:

itamar> adding missing kfree
itamar> 
itamar> Signed-off-by: Itamar Rabenstein <itamar at mellanox.co.il>
itamar> 
itamar> Index: dapl_openib_util.c
itamar> ===================================================================
itamar> --- dapl_openib_util.c	(revision 2374)
itamar> +++ dapl_openib_util.c	(working copy)
itamar> @@ -425,6 +425,7 @@
itamar>  	acl |= IB_ACCESS_MW_BIND;
itamar>  	mr = ib_reg_phys_mr((struct ib_pd *)((DAPL_PZ *) lmr->param.pz_handle)->
itamar>  			    pd_handle, buf_list, length, acl, &iova);
itamar> +	kfree(buf_list);
itamar>  	if (IS_ERR(mr)) {
itamar>  		ib_status = PTR_ERR(mr);
itamar>  		dapl_dbg_log(DAPL_DBG_TYPE_ERR,
itamar> 
itamar> -- 
itamar> Itamar
itamar> 



More information about the general mailing list