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)" fai


From: Tomas Mudrunka
Subject: Re: [lwip-users] Assertion "pcb->snd_queuelen >= pbuf_clen(next->p)" failed after TCP handshake
Date: Thu, 22 Apr 2021 11:37:11 +0200
User-agent: Roundcube Webmail/1.2.3

pcb->snd_queuelen >= pbuf_clen(next->p)

This means that the counter of pbufs outstanding to be ACKed is smaller
than the actual number of the pbufs we take off the list. I can't tell
you why that would happen though.


Is it possible that pcb->snd_buf is too small?
But i have to mention that exact same setup works when i use WiFi interface.

Also i have omited following calls from the driver for development purposes:

LINK_STATS_INC()
MIB2_STATS_NETIF_ADD()
MIB2_STATS_NETIF_INC()

But netif init() calls MIB2_INIT_NETIF() tho...

I figured these are just used for statistics.
Is it possible that these calls are actualy required for proper operation?

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



reply via email to

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