[Top][All Lists]

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

RE: [lwip-users] TCP causing out of mem pool [RAW]

From: Bill Auerbach
Subject: RE: [lwip-users] TCP causing out of mem pool [RAW]
Date: Tue, 28 Jul 2009 16:08:04 -0400

I suggested once before that before the closing brace of the 'if (pcb ==
NULL)' in tcp_alloc one could add something like:

if (pcb != NULL)        // Timewait PCB was freed above

I think (i.e. IMO) err counts are fatal.  In this case we're counting an
error that was able to be recovered - is that really fatal?


>-----Original Message-----
>From: address@hidden
>[mailto:address@hidden On
>Behalf Of address@hidden
>Sent: Tuesday, July 28, 2009 3:55 PM
>To: Mailing list for lwIP users
>Subject: Re: [lwip-users] TCP causing out of mem pool [RAW]
>Roger Cover wrote:
>> Howdy Folks,
>> In terms of the message, perhaps a more clear message would be in
>> Something like:
>> No free PCBs. Using a TIME_WAIT PCB.
>That's what I thought of. The problem (and why it won't make it into
>1.3.1) is that the current message is a generic message emitted in
>memp_malloc(), which doesn't know that the failure isn't fatal to TCP.
>Nevertheless, it's confusing users.
>lwip-users mailing list

reply via email to

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