Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279061
b: refs/heads/master
c: ea6e574
h: refs/heads/master
i:
  279059: 662024e
v: v3
  • Loading branch information
Florian Westphal authored and Pablo Neira Ayuso committed Dec 4, 2011
1 parent 201f50b commit b117706
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8f97339d3feb662037b86a925e692017c0b32323
refs/heads/master: ea6e574e34779fbb4526b2160411c163eac25323
2 changes: 2 additions & 0 deletions trunk/include/net/ip6_route.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ extern void ip6_route_input(struct sk_buff *skb);
extern struct dst_entry * ip6_route_output(struct net *net,
const struct sock *sk,
struct flowi6 *fl6);
extern struct dst_entry * ip6_route_lookup(struct net *net,
struct flowi6 *fl6, int flags);

extern int ip6_route_init(void);
extern void ip6_route_cleanup(void);
Expand Down
7 changes: 7 additions & 0 deletions trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,13 @@ static struct rt6_info *ip6_pol_route_lookup(struct net *net,

}

struct dst_entry * ip6_route_lookup(struct net *net, struct flowi6 *fl6,
int flags)
{
return fib6_rule_lookup(net, fl6, flags, ip6_pol_route_lookup);
}
EXPORT_SYMBOL_GPL(ip6_route_lookup);

struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
const struct in6_addr *saddr, int oif, int strict)
{
Expand Down

0 comments on commit b117706

Please sign in to comment.