[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #56397] Assert "tcp_receive: ooseq tcplen > rcv_wnd"
From: |
David GIRAULT |
Subject: |
[lwip-devel] [bug #56397] Assert "tcp_receive: ooseq tcplen > rcv_wnd" |
Date: |
Tue, 24 Sep 2019 09:33:48 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36 |
Follow-up Comment #6, bug #56397 (project lwip):
See something strange in out-of-sequence segment handling.
Since TCP_OOSEQ_MAX_BYTES & TCP_OOSEQ_MAX_PBUFS are 0 (unlimited) by default,
it seems we can store unlimited count of OOS segments in ooseq queue. Right?
This can result in more bytes stored in pcb->ooseq that the rcv_wnd can
handle, isn't it?
When the next expected segment is finally received, the following loop should
break if current ooseq segment processed have size > rcv_wnd :
while (pcb->ooseq != NULL &&
pcb->ooseq->tcphdr->seqno == pcb->rcv_nxt)
Does I miss something?
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?56397>
_______________________________________________
Message posté via Savannah
https://savannah.nongnu.org/