]> 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)
commit8146f16b29e6cc515acede965d46e969681b81c5
treea8b1f2cc3069397a30b39abc5e56613686334b4f
parentdb1c052ac115ac2cfb3cfe43e99fb42d13bffcb1
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