mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-30 12:32:37 +00:00
Apply patch #9694: Update prev pointer when skipping entries in tcp_slowtmr to prevent hitting assertion
This commit is contained in:
parent
130f947037
commit
bc25863d1b
@ -1219,6 +1219,7 @@ tcp_slowtmr_start:
|
||||
LWIP_ASSERT("tcp_slowtmr: active pcb->state != TIME-WAIT\n", pcb->state != TIME_WAIT);
|
||||
if (pcb->last_timer == tcp_timer_ctr) {
|
||||
/* skip this pcb, we have already processed it */
|
||||
prev = pcb;
|
||||
pcb = pcb->next;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user