Sorry, pressed send before adding subject...

From: [email protected] 
[mailto:[email protected]] On Behalf Of Irena Gannon
Sent: Sunday, November 28, 2010 12:27 PM
To: '[email protected]'
Subject: [ofw] (no subject)

Signed-off-by: Irena Gannon ([email protected]<mailto:[email protected]>)

This patch constructs the send_mgr.sg_pool in the __send_mgr_construct so that 
it has a valid state in cl_qcpool_destroy (in cl_is_state_valid assert) even if 
__port_init fails before __send_mgr_init

Index: B:/users/irena/proj1/trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp
===================================================================
--- B:/users/irena/proj1/trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp       
(revision 6930)
+++ B:/users/irena/proj1/trunk/ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp    
(revision 6931)
@@ -3409,6 +3409,7 @@
                IPOIB_ENTER( IPOIB_DBG_SEND );
                p_port->send_mgr.depth = 0;
                cl_qlist_init( &p_port->send_mgr.pending_list );
+    cl_qpool_construct(&p_port->send_mgr.sg_pool);
                cl_qpool_construct( &p_port->send_mgr.send_pool );
                p_port->p_desc = NULL;
                IPOIB_EXIT( IPOIB_DBG_SEND );
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to