diff options
author | Duan Jiong <duanj.fnst@cn.fujitsu.com> | 2014-02-27 17:14:41 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-23 21:38:10 -0700 |
commit | 913cfa947d296bd0a0671e87f102a49c24683fd8 (patch) | |
tree | c1e3eabe018ed6be85922cd86c3486a0451f7a17 /drivers/net/virtio_net.c | |
parent | fe42b170afae5978dc90641f29f2b39aefaa47fa (diff) |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions