lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] I free all pbufs that I reserve but pbuf_pool is full !


From: Kieran Mansley
Subject: Re: [lwip-users] I free all pbufs that I reserve but pbuf_pool is full !!
Date: Wed, 26 Feb 2003 10:58:47 +0000 (GMT)

On Wed, 26 Feb 2003, Sergio PérezAlcañiz wrote:

> Hello, as I say in the subject, I count the calls to pbuf_alloc and
> pbuf_free and are almost the same, but, at the end, I got the message:
> "pbuf_alloc: Out of pbufs in pool,". When freeing pbufs I see if the
> pbuf->ref is greater than 0, but it is not, so they are suposed to be
> freed. What is happening??

I'm not sure.  Are you saying the pbuf's have a reference count of 0 but
they are not freed?  Are you sure this is the case for all the pbuf's in
question?  Which interface are you using to access the lwip stack (the raw
API, sockets, or something of your own creation)?  I think we'll need some
more information to help you with this problem.

Thanks

Kieran





reply via email to

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