Done at 2942

From: Smith, Stan [mailto:[email protected]]
Sent: Tuesday, September 21, 2010 6:01 PM
To: Alex Naslednikov; [email protected]
Subject: RE: [ofw] [Patch][IPoIB_NDIS6_CM] Handling memory access violation at 
destroy when __port_init fails.

________________________________
From: Alex Naslednikov [mailto:[email protected]]
Sent: Tuesday, September 21, 2010 8:59 AM
To: Smith, Stan; [email protected]
Subject: RE: [ofw] [Patch][IPoIB_NDIS6_CM] Handling memory access violation at 
destroy when __port_init fails.
You are right !
May I add it and then commit ?

Please do so.

stan.

From: Smith, Stan [mailto:[email protected]]
Sent: Tuesday, September 21, 2010 5:57 PM
To: Alex Naslednikov; [email protected]
Subject: RE: [ofw] [Patch][IPoIB_NDIS6_CM] Handling memory access violation at 
destroy when __port_init fails.

Please see below.

________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Alex Naslednikov
Sent: Tuesday, September 21, 2010 7:54 AM
To: [email protected]
Subject: [ofw] [Patch][IPoIB_NDIS6_CM] Handling memory access violation at 
destroy when __port_init fails.
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');

Is the following statement also required?
                p_port->p_desc = NULL;

                //Lookaside list will be destroyed in __buf_mgr_destroy
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to