[ofw] [IPoIB]patch to release allocated buffer.

Alex Estrin alex.estrin at qlogic.com
Thu Sep 11 14:32:06 PDT 2008


Please review.

Index: kernel/ipoib_port.c
===================================================================
--- kernel/ipoib_port.c	(revision 1595)
+++ kernel/ipoib_port.c	(working copy)
@@ -939,7 +939,7 @@
 		if (p_port->p_adapter->params.recv_chksum_offload ==
CSUM_ENABLED)
 			p_port->p_adapter->params.recv_chksum_offload =
CSUM_DISABLED;
 	}
-	
+	cl_free( p_ca_attr );
 	qp_create.h_sq_cq = p_port->ib_mgr.h_send_cq;
 	qp_create.sq_signaled = TRUE;
 	status = p_port->p_adapter->p_ifc->create_qp(

Thanks,
Alex.



More information about the ofw mailing list