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: address@hidden
Subject: Re: [lwip-users] Assertion "pcb->snd_queuelen >= pbuf_clen(next->p)" in tcp_free_acked_segments()
Date: Thu, 22 Apr 2021 07:03:34 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

Am 21.04.2021 um 15:21 schrieb Tomas Mudrunka:
> 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();
>

I'm not sure you even need this. What's the function behind the
netif->input pointer?

Regards,
Simon




reply via email to

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