lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] lwip 1.4.0. sanity check


From: Simon Goldschmidt
Subject: Re: [lwip-users] lwip 1.4.0. sanity check
Date: Tue, 20 Dec 2011 13:58:30 +0100

Martin Velek <address@hidden> wrote:
> However the lwip_sanity_check() complains about "TCP_WND is larger
> than space provided by PBUF_POOL_SIZE*PBUF_POOL_BUFSIZE\n".
> 
> Should I care about this message? I think there is missing a check for
> memory allocator e.g.
> if ( !(MEM_LIBC_MALLOC && MEMP_MEM_MALLOC) && (TCP_WND >
> (PBUF_POOL_SIZE*PBUF_POOL_BUFSIZE)))
> but I am not sure.

I think you can ignore that check, yes. When not using lwIP's mem- or 
memp-allocator, there might be plenty of checks not necessary, not only the 
pbuf-pool check you are seeing.

A patch for these checks would be welcome!

Simon
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de



reply via email to

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