OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jan 2020 13:51:21 +0000 (14:51 +0100)
commitd261a03d8cac78006f2f28c6f950429f1588fb07
tree169df917132b6625697e386890765db72a2d1a61
parentced84017c91461d480a1cc35367e07bcaf803256
net: neigh: use long type to store jiffies delta

[ 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>
net/core/neighbour.c