lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] PBUF starvation


From: Alexandre Malo
Subject: Re: [lwip-users] PBUF starvation
Date: Wed, 29 Jul 2009 10:13:09 -0400

Thanks Simon!

  I just wanted to be sure of what was the correct solution.

Have a good day!

Alex
----- Original Message ----- 
From: <address@hidden>
To: "Mailing list for lwIP users" <address@hidden>
Sent: Tuesday, July 28, 2009 4:48 PM
Subject: Re: [lwip-users] PBUF starvation


> Alexandre Malo wrote:
> > ..
> > I was just wondering if it was TCP_IP::tcpip_input job's to do the free
or
> > the the caller.
>
> Of course its up to the caller: the tcpip_thread doesn't know anything
> about the pbufs you want to free, since the mbox was full. The caller
> has to free the pbuf if tcpip_input() returns != ERR_OK, as can be seen
> in the example driver or the win32 or unix port.
>
> Simon
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>





reply via email to

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