<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV><SPAN class=875574812-17042008><FONT face=Arial size=2>Sean
Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial size=2>I'm working on some
SDP bugs in OFED 1.3 </FONT></SPAN></DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial size=2>In the spec, a
normal flow to close a connection is</FONT></SPAN></DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial size=2>at the client side:
State "Established" ---- send DREQ ---> State "DREQ sent" --- receive DREP
---> State "TimeWait" ---> State "Idle"</FONT></SPAN></DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial size=2>According to the
code and tests I did, it seems that ib_cm doesn't wait for DREP and goes
directly from "DREQ sent" into "TimeWait".</FONT></SPAN></DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial size=2>This is obviously
not good - Because the client might think the connection is closed while
the CM in the server side isn't in listen/timewait mode. </FONT></SPAN></DIV>
<DIV><SPAN class=875574812-17042008></SPAN><SPAN class=875574812-17042008><FONT
face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial size=2>I think that this is
a bug, am I right?</FONT></SPAN></DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=875574812-17042008><FONT face=Arial size=2>---
Amir</FONT></SPAN></DIV></BODY></HTML>