weston-embedded/uC-TCP-IP

ARP module fails to invalidate cache entry in the RENEW state if the host becomes unreachable.

wes-jmagasrevy opened this issue · 0 comments

If a host becomes unreachable and the cache entry for said host expires, the ARP state machine transitions to the RENEW state where it remains for 10 minutes and keeps re-transmitting the ARP request until a maximum number of retries. The problem is that every retry repeats every 10 minutes and there's a maximum of 15 retries, which is too long. The ARP implementation is also considering the wrong timeout for those retries (it should be the request pend timeout instead of the cache renew timeout).