]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
net: neigh: use long type to store jiffies delta
authorEric Dumazet <edumazet@google.com>
Tue, 5 Nov 2019 22:11:49 +0000 (14:11 -0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 14 Feb 2020 05:29:37 +0000 (00:29 -0500)
commita9b1d634bb9fb5fc555453e45dc6cd2be43a20d6
tree5fe49d171e1a39ecf7d085edd3e4e1f7741069fa
parent2f7e0748d50edc1f7be8af81c6a678240b6acf9d
net: neigh: use long type to store jiffies delta

BugLink: https://bugs.launchpad.net/bugs/1863019
[ Upstream commit 9d027e3a83f39b819e908e4e09084277a2e45e95 ]

A difference of two unsigned long needs long storage.

Fixes: c7fb64db001f ("[NETLINK]: Neighbour table configuration and statistics via rtnetlink")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/core/neighbour.c