From: David Ahern <dsah...@gmail.com>

Add fib6_result as a single data structure to hold results from a fib
lookup. IPv6 currently has everything in 1 data structure - a fib6_info,
but with nexthop objects the fib6_nh can be in a nexthop or a nexthop
can be a blackhole which affects the fib6_type and flags (REJECT).

David Ahern (13):
  ipv6: Rename fib6_multipath_select and pass fib6_result
  ipv6: Pass fib6_result to rt6_find_cached_rt
  ipv6: Pass fib6_result to ip6_rt_cache_alloc
  ipv6: Pass fib6_result to ip6_create_rt_rcu
  ipv6: Pass fib6_result to pcpu route functions
  ipv6: Pass fib6_result to ip6_rt_get_dev_rcu and ip6_rt_copy_init
  ipv6: Pass fib6_result to rt6_insert_exception
  ipv6: Pass fib6_result to ip6_mtu_from_fib6 and fib6_mtu
  ipv6: Pass fib6_result to rt6_device_match
  ipv6: Pass fib6_result to rt6_select and find_rr_leaf
  ipv6: Pass fib6_result to fib6_table_lookup tracepoint
  ipv6: Pass fib6_result to fib lookups
  ipv6: Add fib6_type and fib6_flags to fib6_result

 include/net/ip6_fib.h       |  24 ++-
 include/net/ip6_route.h     |   5 +-
 include/net/ipv6_stubs.h    |  25 ++-
 include/trace/events/fib6.h |  16 +-
 net/core/filter.c           |  56 +++---
 net/ipv6/addrconf_core.c    |  29 +--
 net/ipv6/af_inet6.c         |   2 +-
 net/ipv6/fib6_rules.c       |  34 ++--
 net/ipv6/ip6_fib.c          |   7 +-
 net/ipv6/route.c            | 443 +++++++++++++++++++++++++-------------------
 10 files changed, 348 insertions(+), 293 deletions(-)

-- 
2.11.0

Reply via email to