]> Pileus Git - ~andy/linux/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2014 23:21:17 +0000 (18:21 -0500)
commitfeff9ab2e7fa773b6a3965f77375fe89f7fd85cf
treea8b1f2cc3069397a30b39abc5e56613686334b4f
parent352063c839ba9605a3b9ebbc1906f32ec5d8e269
neigh: recompute reachabletime before returning from neigh_periodic_work()

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