Skip to content

Commit a2ebddf

Browse files
BasharRadyagalnoam
authored andcommitted
issue: 4607536 Update last_unacked in syn sent state
after progressing pcb->unacked we need to check if it becomes null then we need to nullify pcb->last_unacked Signed-off-by: Bashar Abdelgafer <[email protected]>
1 parent 16928f6 commit a2ebddf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vma/lwip/tcp_in.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ tcp_process(struct tcp_pcb *pcb, tcp_in_data* in_data)
575575
/* If there's nothing left to acknowledge, stop the retransmit
576576
timer, otherwise reset it to start again */
577577
if(pcb->unacked == NULL) {
578+
pcb->last_unacked = NULL;
578579
pcb->rtime = -1;
579580
} else {
580581
pcb->rtime = 0;

0 commit comments

Comments
 (0)