-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arp: fill cache only from ARP responses #537
Comments
Isn't opportunistically use everything it sees to fill the cache a sensible thing to do? |
@dnadlinger In theory it's correct, but I'm quite scared that some broken network out there breaks it, similarly to what happened in 6210612. Addresses in ARP packets should be more reliable yes, but still, who knows... Also it can fill the the ARP cache with random entries we don't need, which can evict the ones that we do need. So this change can be good for performance too. |
This fill here fills the cache on any ARP message. It should only do it on ARP responses I think.
smoltcp/src/iface/interface.rs
Line 1044 in db18514
The text was updated successfully, but these errors were encountered: