[ofw] [Patch][IPoIB_NDIS6_CM] Handling memory access violation at destroy when __port_init fails.
Alex Naslednikov
xalex at mellanox.co.il
Tue Sep 21 07:54:18 PDT 2010
Index: B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp
===================================================================
--- B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp (revision 2939)
+++ B:/users/xalex/WoF-trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp (working copy)
@@ -3428,6 +3428,7 @@
cl_qpool_destroy(&p_port->send_mgr.sg_pool);
//Now, free port descriptor
+ if (p_port->p_desc)
ExFreePoolWithTag(p_port->p_desc, 'XMXA');
//Lookaside list will be destroyed in __buf_mgr_destroy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100921/ea8c55e2/attachment.html>
More information about the ofw
mailing list