lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Assert "tcp_slowtmr" in tcp.c reached


From: Marco Jakobs
Subject: [lwip-users] Assert "tcp_slowtmr" in tcp.c reached
Date: Tue, 02 Feb 2010 10:54:19 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]