Apply patch #9694: Update prev pointer when skipping entries in tcp_slowtmr to prevent hitting assertion

This commit is contained in:
Dirk Ziegelmeier 2018-10-04 17:38:17 +02:00
parent 5c4ada2098
commit d4c8b3e7e8

View File

@ -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;
}