OSDN Git Service

Merge branch 'ipv6-Use-fib6_result-for-fib_lookups'
authorDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 06:11:52 +0000 (23:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 06:11:52 +0000 (23:11 -0700)
commitcea29a70727e7885b3fdf0d266a57818652a89c1
tree74b78bdf8b3f7e2121ca4005ee3c7c0af17619ec
parent6b0a7f84ea1fe248df96ccc4dd86e817e32ef65b
parent7d21fec90438941b44b699ae73673d2f8a3a9d76
Merge branch 'ipv6-Use-fib6_result-for-fib_lookups'

David Ahern says:

====================
ipv6: Use fib6_result for fib_lookups

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>