<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=955583916-27102006>Yossi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=955583916-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=955583916-27102006>Please 
review the following patch.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=955583916-27102006>It 
fixes possible situation when</SPAN></FONT><FONT face=Arial color=#0000ff 
size=2><SPAN class=955583916-27102006> rearm CQ 
fails and</SPAN></FONT><FONT face=Arial color=#0000ff size=2><SPAN 
class=955583916-27102006> connect requester stuck to wait event 
signal forever.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=955583916-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=955583916-27102006>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=955583916-27102006>Alex</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=955583916-27102006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=955583916-27102006>Index: 
srp_connection.c<BR>===================================================================<BR>--- 
srp_connection.c (revision 525)<BR>+++ srp_connection.c (working 
copy)<BR>@@ -555,7 +555,8 @@<BR>    ("ib_rearm_cq() for send 
cq failed!, status 0x%x", status) );<BR> <BR>   // TODO: 
Kill session and inform port driver link down 
storportnotification<BR>-  return;<BR>+  p_connection->state 
= SRP_CONNECT_FAILURE;<BR>+  goto 
exit;<BR>  }<BR> <BR>  status = p_ifc->rearm_cq( 
p_connection->h_recv_cq, FALSE );<BR>@@ -565,7 +566,7 
@@<BR>    ("ib_rearm_cq() for recv failed!, status 0x%x", 
status) );<BR> <BR>   // TODO: Kill session and inform port 
driver link down 
storportnotification<BR>-  return;<BR>+  p_connection->state 

SRP_CONNECT_FAILURE;<BR>  }<BR> <BR> </SPAN></FONT></DIV></BODY></HTML>