mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 09:16:20 +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);
|
LWIP_ASSERT("tcp_slowtmr: active pcb->state != TIME-WAIT\n", pcb->state != TIME_WAIT);
|
||||||
if (pcb->last_timer == tcp_timer_ctr) {
|
if (pcb->last_timer == tcp_timer_ctr) {
|
||||||
/* skip this pcb, we have already processed it */
|
/* skip this pcb, we have already processed it */
|
||||||
|
prev = pcb;
|
||||||
pcb = pcb->next;
|
pcb = pcb->next;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user