diff options
author | Wei Wang <[email protected]> | 2018-01-26 11:40:17 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-29 14:22:05 -0500 |
commit | 31afeb425f7fad8bcf9561aeb0b8405479f97a98 (patch) | |
tree | 08c7751b1ab6d54456473683a01af5471867a0c0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0a797db323a6f74da3f43d5460792989da6617f4 (diff) |
ipv6: change route cache aging logic
In current route cache aging logic, if a route has both RTF_EXPIRE and
RTF_GATEWAY set, the route will only be removed if the neighbor cache
has no NTF_ROUTER flag. Otherwise, even if the route has expired, it
won't get deleted.
Fix this logic to always check if the route has expired first and then
do the gateway neighbor cache check if previous check decide to not
remove the exception entry.
Fixes: 1859bac04fb6 ("ipv6: remove from fib tree aged out RTF_CACHE dst")
Signed-off-by: Wei Wang <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions