[ofw] patch - Fix a leak in ipoib
Tzachi Dar
tzachid at mellanox.co.il
Tue Oct 7 05:34:02 PDT 2008
The following code fixes a leak in ipoib.
Thanks
Tzachi
Index: ipoib/kernel/ipoib_port.c
===================================================================
--- ipoib/kernel/ipoib_port.c (revision 1633)
+++ ipoib/kernel/ipoib_port.c (working copy)
@@ -4942,6 +4942,7 @@
p_port->port_num, p_mcast_rec );
if( status != IB_SUCCESS )
{
+ cl_obj_destroy( &p_endpt->obj );
IPOIB_PRINT_EXIT( TRACE_LEVEL_ERROR, IPOIB_DBG_ERROR,
("ipoib_create_mcast_endpt returned %s\n",
p_port->p_adapter->p_ifc->get_err_str( status )) );
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20081007/14207da8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipoib_leak.patch
Type: application/octet-stream
Size: 491 bytes
Desc: ipoib_leak.patch
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20081007/14207da8/attachment.obj>
More information about the ofw
mailing list