[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
MEMP_STATS_DEC(err, MEMP_TCP_PCB_LISTEN);
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?
Bill
>-----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
>order.
>> 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.
>
>Simon
>
>
>_______________________________________________
>lwip-users mailing list
>address@hidden
>http://lists.nongnu.org/mailman/listinfo/lwip-users
- Re: [lwip-users] TCP causing out of mem pool [RAW], (continued)
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/28
- RE: [lwip-users] TCP causing out of mem pool [RAW], Bill Auerbach, 2009/07/28
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/28
- Re: [lwip-users] TCP causing out of mem pool [RAW], Kieran Mansley, 2009/07/28
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/28
- Re: [lwip-users] TCP causing out of mem pool [RAW], Kieran Mansley, 2009/07/28
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/28
- Re: [lwip-users] TCP causing out of mem pool [RAW], address@hidden, 2009/07/28
- RE: [lwip-users] TCP causing out of mem pool [RAW], Roger Cover, 2009/07/28
- Re: [lwip-users] TCP causing out of mem pool [RAW], address@hidden, 2009/07/28
- RE: [lwip-users] TCP causing out of mem pool [RAW],
Bill Auerbach <=
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/28
- Re: [lwip-users] TCP causing out of mem pool [RAW], Kieran Mansley, 2009/07/29
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/29
- Re: [lwip-users] TCP causing out of mem pool [RAW], Kieran Mansley, 2009/07/29
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/29
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/29
- Re: [lwip-users] TCP causing out of mem pool [RAW], Kieran Mansley, 2009/07/29
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/29
- Re: [lwip-users] TCP causing out of mem pool [RAW], Chris_S, 2009/07/29
- Re: [lwip-users] TCP causing out of mem pool [RAW], Fabian Koch, 2009/07/29