lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Assertion "pcb->snd_queuelen >= pbuf_clen(next->p)" in


From: Tomas Mudrunka
Subject: Re: [lwip-users] Assertion "pcb->snd_queuelen >= pbuf_clen(next->p)" in tcp_free_acked_segments()
Date: Wed, 21 Apr 2021 15:21:23 +0200
User-agent: Roundcube Webmail/1.2.3

I even tried to lock the TCPIP core like this, but it didn't helped at all:


  p = pbuf_alloc(PBUF_RAW,rx_len,PBUF_POOL);
  pbuf_take(p, rx_buf, rx_len);
+ LOCK_TCPIP_CORE();
  if(netif->input(p, netif) != ERR_OK) {
    ESP_LOGE(TAG, "Input failed!");
    pbuf_free(p);
  }
+ UNLOCK_TCPIP_CORE();


--
S pozdravem
Best regards
     Tomáš Mudruňka - SPOJE.NET s.r.o.



reply via email to

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