lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] PBUF starvation


From: address@hidden
Subject: Re: [lwip-users] PBUF starvation
Date: Tue, 28 Jul 2009 22:48:26 +0200
User-agent: Thunderbird 2.0.0.22 (Macintosh/20090605)

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




reply via email to

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