<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=941270812-29042010>This patch removes
the assert at user-mode because:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=941270812-29042010>1. h_al can be NULL
when we got into the al_destroy_cep as a result of a bad flow within
qp_creation</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=941270812-29042010>2. h_al is only
compared to other values; the code does not attempt to use it as a
pointer</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=941270812-29042010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=941270812-29042010>Signed-off by:
Alexander Naslednikov (xalex at mellanox.co.il)</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=941270812-29042010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Index:
D:/windows/MLNX_VPI_trunk/core/al/user/ual_cm_cep.c<BR>===================================================================<BR>---
D:/windows/MLNX_VPI_trunk/core/al/user/ual_cm_cep.c (revision 5850)<BR>+++
D:/windows/MLNX_VPI_trunk/core/al/user/ual_cm_cep.c (revision 5851)<BR>@@
-382,9 +382,13
@@<BR> DWORD bytes_ret;<BR> <BR> AL_ENTER(
AL_DBG_CM );<BR>+ <BR>+#if DBG<BR>+ if ( !h_al)
{<BR>+ AL_PRINT(TRACE_LEVEL_ERROR ,AL_DBG_ERROR , ("h_al == NULL,
probably because qp creation was failed.\n")
);<BR>+ }<BR>+#endif<BR> <BR>- CL_ASSERT( h_al
);<BR>-<BR> cl_spinlock_acquire( &gp_cep_mgr->obj.lock
);<BR> if( *p_cid < cl_ptr_vector_get_size(
&gp_cep_mgr->cep_vector )
)<BR> {<BR></DIV></FONT></BODY></HTML>