ipv6: Use fib6_result for fib_lookups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 1 replyIn review
- v113 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | ipv6: Rename fib6_multipath_select and pass fib6_resultinclude/ include/ net/ +3 more | +68 | 0 replies | |
| 2/13 | ipv6: Pass fib6_result to rt6_find_cached_rtnet/ | +21 | 0 replies | |
| 3/13 | ipv6: Pass fib6_result to ip6_rt_cache_allocnet/ | +25 | 0 replies | |
| 4/13 | ipv6: Pass fib6_result to ip6_create_rt_rcunet/ | +21 | 0 replies | |
| 5/13 | ipv6: Pass fib6_result to pcpu route functionsnet/ | +14 | 0 replies | |
| 6/13 | ipv6: Pass fib6_result to ip6_rt_get_dev_rcu and ip6_rt_copy_initnet/ | +27 | 0 replies | |
| 7/13 | ipv6: Pass fib6_result to rt6_insert_exceptionnet/ | +17 | 0 replies | |
| 8/13 | ipv6: Pass fib6_result to ip6_mtu_from_fib6 and fib6_mtuinclude/ include/ net/ +2 more | +25 | 0 replies | |
| 9/13 | ipv6: Pass fib6_result to rt6_device_matchnet/ | +30 | 0 replies | |
| 10/13 | ipv6: Pass fib6_result to rt6_select and find_rr_leafnet/ | +43 | 0 replies | |
| 11/13 | ipv6: Pass fib6_result to fib6_table_lookup tracepointinclude/ net/ | +11 | 0 replies | |
| 12/13 | ipv6: Pass fib6_result to fib lookupsinclude/ include/ net/ +4 more | +46 | 0 replies | |
| 13/13 | ipv6: Add fib6_type and fib6_flags to fib6_resultinclude/ include/ net/ +1 more | +52 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 net-next 00/13] ipv6: Use fib6_result for fib_lookups
From: David Ahern <[email protected]>
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(-)
Signature · 1 line
2.11.0