]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv6: Add rt6_info create function for ip6_pol_route_lookup
authorDavid Ahern <dsahern@gmail.com>
Wed, 18 Apr 2018 00:33:19 +0000 (17:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Apr 2018 03:41:17 +0000 (23:41 -0400)
commit6a0cd6116096c70272defb0a6902b9f5d413e165
tree45c75a3ab149c84b5bb6150a1d4cb61616e0a374
parentc176cb17509733505734c9a6b092637cfd99a250
net/ipv6: Add rt6_info create function for ip6_pol_route_lookup

ip6_pol_route_lookup is the lookup function for ip6_route_lookup and
rt6_lookup. At the moment it returns either a reference to a FIB entry
or a cached exception. To move FIB entries to a separate struct, this
lookup function needs to convert FIB entries to an rt6_info that is
returned to the caller.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c