[ofa-general] CM goes to timewait state without waiting for disconnect reply

Amir Vadai amirv at mellanox.co.il
Thu Apr 17 06:23:00 PDT 2008


Sean Hi,
 
I'm working on some SDP bugs in OFED 1.3 
 
In the spec, a normal flow to close a connection is
at the client side: State "Established" ---- send DREQ ---> State "DREQ
sent" --- receive DREP ---> State "TimeWait"  ---> State "Idle"
 
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".
 
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. 
 
I think that this is a bug, am I right?
 
--- Amir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080417/3f3f74e8/attachment.html>


More information about the general mailing list