Thanks Simon! I just wanted to be sure of what was the correct solution.
Have a good day! Alex ----- Original Message ----- From: <[email protected]> To: "Mailing list for lwIP users" <[email protected]> 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 > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users > _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
