diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-05 13:48:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-05 13:48:10 -0500 |
commit | 4591db4f37618f37a9f1f25d291c3c7a43a15a21 (patch) | |
tree | 10694d610a78d8cc607fcb2998e4dc97856138f6 /include/net/ip6_route.h | |
parent | 6fda73500581be531fd9bc232173332ec64f6435 (diff) |
[NETNS][IPV6] route6 - add netns parameter to ip6_route_output
Add an netns parameter to ip6_route_output. That will allow to access
to the right routing table for outgoing traffic.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_route.h')
-rw-r--r-- | include/net/ip6_route.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index e0caed25bfba..0e2895c8b270 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -43,7 +43,8 @@ extern struct rt6_info *ip6_blk_hole_entry; | |||
43 | 43 | ||
44 | extern void ip6_route_input(struct sk_buff *skb); | 44 | extern void ip6_route_input(struct sk_buff *skb); |
45 | 45 | ||
46 | extern struct dst_entry * ip6_route_output(struct sock *sk, | 46 | extern struct dst_entry * ip6_route_output(struct net *net, |
47 | struct sock *sk, | ||
47 | struct flowi *fl); | 48 | struct flowi *fl); |
48 | 49 | ||
49 | extern int ip6_route_init(void); | 50 | extern int ip6_route_init(void); |