neighbour: confirm neigh entries when ARP packet is received
authorVasily Khoruzhick <vasilykh@arista.com>
Thu, 13 Sep 2018 18:12:03 +0000 (11:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Sep 2018 10:06:01 +0000 (03:06 -0700)
commitff64a1a2ca3dd1785386250222e6dcabbadd975d
tree4c0e546d47e8b3776d37cb9683447c4e2bac59f8
parent0f6f77f3b8f46b40da840a409a76bdb5c271e0a5
neighbour: confirm neigh entries when ARP packet is received

[ Upstream commit f0e0d04413fcce9bc76388839099aee93cd0d33b ]

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 sense to confirm it when ARP packet is received.

Fixes: 77d7123342dc ("neighbour: update neigh timestamps iff update is effective")
Signed-off-by: Vasily Khoruzhick <vasilykh@arista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/core/neighbour.c