neigh: recompute reachabletime before returning from neigh_periodic_work()
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Thu, 27 Feb 2014 09:14:41 +0000 (17:14 +0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Mar 2014 22:19:39 +0000 (23:19 +0100)
commitdf3839f910d836f85620947f0957d40a4171afd9
treedf88e4dd40972b76945e4e855b14c9b5ad2a5097
parent10bbbd58f309101e93643637f784ee069785ace2
neigh: recompute reachabletime before returning from neigh_periodic_work()

[ Upstream commit feff9ab2e7fa773b6a3965f77375fe89f7fd85cf ]

If the neigh table's entries is less than gc_thresh1, the function
will return directly, and the reachabletime will not be recompute,
so the reachabletime can be guessed.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/core/neighbour.c