buglwIP - A Lightweight TCP/IP stack - Bugs: bug #63306, Is it possible that...


You are not allowed to post comments on this tracker with your current authentication level.

bug #63306: Is it possible that pcb->lastack is greater than seg->tcphdr->seqno?

Submitter:  jiangheng <jinag12345>
Submitted:  Wed 02 Nov 2022 12:35:14 PM UTC
Category:  TCP Severity:  3 - Normal
Item Group:  Crash Error Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  2.1.3

Wed 02 Nov 2022 12:53:18 PM UTC, comment #1: 

by the way, how can I become a maintainer, lwip community is not active, many issues went unanswered,there are many possible bugfixes. i want to help community review and merge code, i am good at TCP/IP module

jiangheng <jinag12345>
Wed 02 Nov 2022 12:35:14 PM UTC, original submission:  

in tcp_output function:

if the seg is a retransmit segment,The peer client confirms only part of the data of the segment. The value of pcb->lastack will be greater than that of seg->tcphdr->seqno. line 1309 will be a bug.

because segment that part of data be confirmed will be retransmited whole segment.

jiangheng <jinag12345>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jinag12345 (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code