Re: [lwip-users] DHCP request fails after 5th try (memory leack?)
Hi Sergio Thank you for your input! You were right, there was another task using pbufs. We re-initialized it every time a new network setting got applied (i.e. also when a DHCP request was completed). Sadly it every time took a new pbuf but didn't release the old one. After fixing this the DHCP client works as expected and without memory overflow. Best regards George ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] DHCP request fails after 5th try (memory leack?)
Good to know! ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] DHCP request fails after 5th try (memory leack?)
George, where did you get your stack ported ? How is it being called ? Since it is running under an RTOS, have you checked there is only one thread calling it ? Is there any other application using pbufs ? If everything is fine, can you put a breakpoint after the udp_remove() and track the udp_new() caller ? I'm not familiar with the DHCP code but it is not too hard to follow. Regards ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users