[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190416213611.8724-1-dsahern@kernel.org>
Date: Tue, 16 Apr 2019 14:35:58 -0700
From: David Ahern <dsahern@...nel.org>
To: davem@...emloft.net, netdev@...r.kernel.org
Cc: idosch@...lanox.com, David Ahern <dsahern@...il.com>
Subject: [PATCH v2 net-next 00/13] ipv6: Use fib6_result for fib_lookups
From: David Ahern <dsahern@...il.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).
v2
- fixed 2 bugs in patch12:
i. checking return from fib6_table_lookup in fib6_lookup
ii. call to fib6_rule_saddr in fib6_rule_action_alt should use res->nh
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
Powered by blists - more mailing lists