ipv6: Add fib6_type and fib6_flags to fib6_result
authorDavid Ahern <dsahern@gmail.com>
Tue, 16 Apr 2019 21:36:11 +0000 (14:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2019 06:11:30 +0000 (23:11 -0700)
commit7d21fec90438941b44b699ae73673d2f8a3a9d76
tree74b78bdf8b3f7e2121ca4005ee3c7c0af17619ec
parenteffda4dd97e878ab83336bec7411cc41b5cc6d37
ipv6: Add fib6_type and fib6_flags to fib6_result

Add the fib6_flags and fib6_type to fib6_result. Update the lookup helpers
to set them and update post fib lookup users to use the version from the
result.

This allows nexthop objects to have blackhole nexthop.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h
include/trace/events/fib6.h
net/core/filter.c
net/ipv6/route.c