Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 224737
b: refs/heads/master
c: 15c0542
h: refs/heads/master
i:
  224735: a01c6fd
v: v3
  • Loading branch information
David S. Miller committed Dec 2, 2010
1 parent 8a8f7e8 commit cfac83f
Show file tree
Hide file tree
Showing 2 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: ccb7c410ddc054b8c1ae780319bc98ae092d3854
refs/heads/master: 15c054251ab84895ec043e90826612c1a3d6d4f1
9 changes: 9 additions & 0 deletions trunk/include/net/ip6_route.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ static inline unsigned int rt6_flags2srcprefs(int flags)
extern void rt6_bind_peer(struct rt6_info *rt,
int create);

static inline struct inet_peer *rt6_get_peer(struct rt6_info *rt)
{
if (rt->rt6i_peer)
return rt->rt6i_peer;

rt6_bind_peer(rt, 0);
return rt->rt6i_peer;
}

extern void ip6_route_input(struct sk_buff *skb);

extern struct dst_entry * ip6_route_output(struct net *net,
Expand Down

0 comments on commit cfac83f

Please sign in to comment.