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

(-)Discussion

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:
https://git.savannah.nongnu.org/cgit/lwip.git/tree/src/core/tcp_out.c#n1309

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.
https://git.savannah.nongnu.org/cgit/lwip.git/tree/src/core/tcp_in.c#n1111

jiangheng <jinag12345>

 

(-)Attached Files

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

No files currently attached

 

(-)Dependencies

Depends on the following items: None found

Items that depend on this one: None found

 

(+)Mail Notification Carbon-Copy List

(+)Votes

(+)History

Back to the top

Powered by Savane 3.14-ee00.
Corresponding source code