nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

net/arp: modify some flow of arp return failure

Open zhhyu7 opened this issue 4 months ago • 1 comments

Summary

If arp search fails once, subsequent searches for the ip will directly return failure, and sends an asynchronous arp request to try to update arp table in the future. In this way, the psock_sendmsg interface will not block for a long time each time because arp cannot be obtained.

This scenario is triggered when a udp socket frequently attempts to access an ip address that does not exist on the LAN.

Impact

Testing

sim:local

zhhyu7 avatar Sep 29 '24 04:09 zhhyu7