From: Vasily Khoruzhick <vasil...@arista.com> Date: Tue, 28 Aug 2018 19:48:25 -0700
> Update 'confirmed' timestamp when ARP packet is received. It shouldn't > affect locktime logic and anyway entry can be confirmed by any higher-layer > protocol. Thus it makes no sense not to confirm it when ARP packet is > received. > > Fixes: 77d7123342 ("neighbour: update neigh timestamps iff update is > effective") > > Signed-off-by: Vasily Khoruzhick <vasil...@arista.com> I'm not so sure. The comment above the code you are moving explains that the current behavior is intention, and it explains why too. Even if your change is correct, you're now making that comment inaccuratte, so you'd have to update it to match the new code. But I still think the current code is intentionally behaving that way, and for good reason.