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: Oleg Tyshev
Subject: [lwip-devel] [bug #26301] Out of order FIN closes half-closed connection
Date: Thu, 23 Apr 2009 11:32:26 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9 GTB5

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

Agree with you,
replace with
pcb->rcv_nxt = seqno + tcplen;


and may be we can move string
where recalculated length of trimmed segment

tcplen = TCP_TCPLEN(&inseg);

to the place where it was trimmed

/* We have to trim the second edge of the incoming
segment. */
inseg.len = (u16_t)(pcb->ooseq->tcphdr->seqno - seqno);
pbuf_realloc(inseg.p, inseg.len);
+tcplen = TCP_TCPLEN(&inseg);


    _______________________________________________________

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]