mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Apply patch #9694: Update prev pointer when skipping entries in tcp_slowtmr to prevent hitting assertion
This commit is contained in:
parent
5c4ada2098
commit
d4c8b3e7e8
@ -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…
Reference in New Issue
Block a user