[ofw] patch: [IBAL] Removing the ASSERT that can happen at user level.

Tzachi Dar tzachid at mellanox.co.il
Tue Aug 31 08:21:21 PDT 2010


Signed off by: xalex

Index: B:/users/tzachid/projinf9/trunk/core/al/user/ual_cm_cep.c
===================================================================
--- B:/users/tzachid/projinf9/trunk/core/al/user/ual_cm_cep.c                (revision 5850)
+++ B:/users/tzachid/projinf9/trunk/core/al/user/ual_cm_cep.c             (revision 5851)
@@ -382,9 +382,13 @@
                DWORD                                bytes_ret;

                AL_ENTER( AL_DBG_CM );
+
+#if DBG
+             if ( !h_al) {
+                             AL_PRINT(TRACE_LEVEL_ERROR ,AL_DBG_ERROR , ("h_al == NULL, probably because qp creation was failed.\n") );
+             }
+#endif

-              CL_ASSERT( h_al );
-
                cl_spinlock_acquire( &gp_cep_mgr->obj.lock );
                if( *p_cid < cl_ptr_vector_get_size( &gp_cep_mgr->cep_vector ) )
                {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20100831/3f0a4b68/attachment.html>


More information about the ofw mailing list