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:07:33 +0000 (03:07 -0700)
commite68a49c769e853e1634bbb12a2d0bd16455d2c5d
treea58c62dbde21ca37b54a2263ff63aee3baa2170c
parenta8f8d5efc5dd9ba07353e6d9aae7c62b11d988bd
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