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 committed by Simon Goldschmidt
parent 130f947037
commit bc25863d1b

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