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

Itamar itamar at mellanox.co.il
Wed May 18 04:32:29 PDT 2005


adding missing kfree

Signed-off-by: Itamar Rabenstein <itamar at mellanox.co.il>

Index: dapl_openib_util.c
===================================================================
--- dapl_openib_util.c	(revision 2374)
+++ dapl_openib_util.c	(working copy)
@@ -425,6 +425,7 @@
 	acl |= IB_ACCESS_MW_BIND;
 	mr = ib_reg_phys_mr((struct ib_pd *)((DAPL_PZ *) lmr->param.pz_handle)->
 			    pd_handle, buf_list, length, acl, &iova);
+	kfree(buf_list);
 	if (IS_ERR(mr)) {
 		ib_status = PTR_ERR(mr);
 		dapl_dbg_log(DAPL_DBG_TYPE_ERR,

-- 
Itamar



More information about the general mailing list