lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #26301] Out of order FIN closes half-closed connection


From: Kieran Mansley
Subject: [lwip-devel] [bug #26301] Out of order FIN closes half-closed connection
Date: Thu, 23 Apr 2009 08:10:28 +0000
User-agent: Opera/9.21 (X11; Linux i686; U; en)

Follow-up Comment #1, bug #26301 (project lwip):

This was also mentioned in BUG#26267.

I think there might be something to fix in tcp_receive() too:

        /* First received FIN will be ACKed +1, on any successive
(duplicate)
         * FINs we are already in CLOSE_WAIT and have already done +1.
         */
        if (pcb->state != CLOSE_WAIT) {
          pcb->rcv_nxt += tcplen;
        }

I think we should do the same for the CLOSING state where we have also
already received a FIN.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26301>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]