Hi to all,

i have noticed that i'm sometimes facing complete (watchdog) restarts of my system. To track this down, i've connected the debug output and managed to get the error ... but then i have no idea how to solve this :-(

The systems runs on the assert in line 778 in /src/core/tcp.c:


  /* Steps through all of the TIME-WAIT PCBs. */
  prev = NULL;   
  pcb = tcp_tw_pcbs;
  while (pcb != NULL) {
    LWIP_ASSERT("tcp_slowtmr: TIME-WAIT pcb->state == TIME-WAIT", pcb->state == TIME_WAIT);
    pcb_remove = 0;

    /* Check if this PCB has stayed long enough in TIME-WAIT */
    if ((u32_t)(tcp_ticks - pcb->tmr) > 2 * TCP_MSL / TCP_SLOW_INTERVAL) {
      ++pcb_remove;
    }


Unfortunately i've no idea about the meaning of this assert and how the system may get to this state. Any ideas are highly appreciated ...

Thanks,
Marco

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to