[Ns-bugs] [Bug 902] TCP socket does not properly notify application if there's a retransmit during FIN_WAIT

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Fri Apr 30 01:37:17 PDT 2010


http://www.nsnam.org/bugzilla/show_bug.cgi?id=902





--- Comment #4 from Antti Mäkelä <zarhan at cc.hut.fi>  2010-04-30 04:37:17 EDT ---
Created an attachment (id=858)
 --> (http://www.nsnam.org/bugzilla/attachment.cgi?id=858)
Patch to fix the issue

I think this patch fixes the issue. It adds a new variable m_finSequence that
gets initialized when FIN packet is first received. When calling PEER_CLOSE
again, the nextRxSequence is compared against THAT instead of header of
whatever packet happened to arrive. 

Note that the line numbers in the patch are probably off as I have added some
custom traces for my own purposes.

-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Ns-bugs mailing list