diff options
author | David Ahern <dsahern@gmail.com> | 2019-05-22 20:27:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-24 13:26:44 -0700 |
commit | 7d88d8b5570b6adba39289487138cff38f84336d (patch) | |
tree | 97f6b656f97cfd291429cdb249dec3b9a090018d /net/ipv6/route.c | |
parent | f40b6ae2b612446dc970d7b51eeec47bd1619f82 (diff) | |
download | lwn-7d88d8b5570b6adba39289487138cff38f84336d.tar.gz lwn-7d88d8b5570b6adba39289487138cff38f84336d.zip |
ipv6: Refactor fib6_drop_pcpu_from
Move the existing pcpu walk in fib6_drop_pcpu_from to a new
helper, __fib6_drop_pcpu_from, that can be invoked per fib6_nh with a
reference to the from entries that need to be evicted. If the passed
in 'from' is non-NULL then only entries associated with that fib6_info
are removed (e.g., case where fib entry is deleted); if the 'from' is
NULL are entries are flushed (e.g., fib6_nh is deleted).
For fib6_info entries with builtin fib6_nh (ie., current code) there
is no change in behavior.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions