lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Problems with sending UDP packets in FreeRTOS


From: Simon Goldschmidt
Subject: Re: [lwip-users] Problems with sending UDP packets in FreeRTOS
Date: Thu, 28 Jul 2016 11:21:31 +0200

Noam Weissman wrote:
> The reason is that if you send data to a wrong IP or domain and TCP stack 
> does not have the destination
> MAC address so it will issue ARP messages. What if the ARP message fails ?... 
> The TCP stack does not know
> where to send the UDP packets. As a result if you continue to send UDP 
> packets they are added to the
> waiting packets to be sent. They are never sent, memory is not freed and 
> eventually you are without
> memory !!

This is *not* true for lwIP. Pending (unresolved) ARP entries get removed after 
5 seconds.
Queued packets will be freed on removal. If this shouldn't work, please file a 
bug!


Simon



reply via email to

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