diff options
author | David Ahern <dsahern@gmail.com> | 2018-12-12 04:57:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-15 02:44:47 +0300 |
commit | 758a7f0b32ab890831d321145c3fe72bb85c0350 (patch) | |
tree | 36eec8034afa8e82b1c1c90617322768c7b7d0fe /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9c29a2f55ec05cc8b525ee3b2d75d3cd37911123 (diff) | |
download | linux-758a7f0b32ab890831d321145c3fe72bb85c0350.tar.xz |
neighbor: Fix state check in neigh_forced_gc
PERMANENT entries are not on the gc_list so the state check is now
redundant. Also, the move to not purge entries until after 5 seconds
should not apply to FAILED entries; those can be removed immediately
to make way for newer ones. This restores the previous logic prior to
the gc_list.
Fixes: 58956317c8de ("neighbor: Improve garbage collection")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions