Skip to content
Commit 3dec89b1 authored by Kui-Feng Lee's avatar Kui-Feng Lee Committed by David S. Miller
Browse files

net/ipv6: Remove expired routes with a separated list of routes.



FIB6 GC walks trees of fib6_tables to remove expired routes. Walking a tree
can be expensive if the number of routes in a table is big, even if most of
them are permanent. Checking routes in a separated list of routes having
expiration will avoid this potential issue.

Signed-off-by: default avatarKui-Feng Lee <thinker.li@gmail.com>
Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d1470851
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment