diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/route.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 1138b0a5566d..ab48b02eb56a 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -658,6 +658,13 @@ out: | |||
658 | 658 | ||
659 | } | 659 | } |
660 | 660 | ||
661 | struct dst_entry * ip6_route_lookup(struct net *net, struct flowi6 *fl6, | ||
662 | int flags) | ||
663 | { | ||
664 | return fib6_rule_lookup(net, fl6, flags, ip6_pol_route_lookup); | ||
665 | } | ||
666 | EXPORT_SYMBOL_GPL(ip6_route_lookup); | ||
667 | |||
661 | struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, | 668 | struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, |
662 | const struct in6_addr *saddr, int oif, int strict) | 669 | const struct in6_addr *saddr, int oif, int strict) |
663 | { | 670 | { |