]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit934bfc2825f36c6b1ca1714abb483ad00aee2a6e
tree74b78bdf8b3f7e2121ca4005ee3c7c0af17619ec
parentb42858a5bd152de69b5aabd0cb418e5a5d46e15e
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