Martin Velek <[email protected]> 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

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to