]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitdec9b0e295f6b34b89041cf19001ba86298d0687
tree45c75a3ab149c84b5bb6150a1d4cb61616e0a374
parent421842edeaf62c4e180b687f5a4efca8c19c49ad
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