]> git.baikalelectronics.ru Git - kernel.git/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)
commit75442c3f8d1e7e1f4fcfe8d96e16d2830acafb6a
treea8b1f2cc3069397a30b39abc5e56613686334b4f
parentea1c3a082aa2914b7cc2eadbffb019f0a20fe926
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