--- On Tue, 1/27/09, Jonathan Larmour <[email protected]> wrote:
> bill wrote:
> > What is your TCP_SND_QUEUELEN? If you tie up all of
> your pbufs to send
> > queued packets, you won't have any pbufs left to
> support receiving packets.
>
> It mostly depends what sort of pbufs. Most pbufs for tx
> data are PBUF_RAM,
> most pbufs for rx data are PBUF_POOL, so those are
> different classes of
> pbufs allocated from different places. The only likely time
> it seems
> possible to have problems with reception if you've
> allocated so many
> PBUF_RAM pbufs that the stack can't even generate an
> ACK packet. Unless you
> are actually allocating PBUF_POOL pbufs in your application
> or something
> like that, of course.
I'm not sending much data and I'm not allocating any pbufs except in ethernetif
low_level_input().
Also in some case I can have lwip send re-transmissions while in this locked
state, so the TX side is not locked, its just the RX side (no PBUF_POOL
available).
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users