aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2008-03-05 13:48:10 -0500
committerDavid S. Miller <davem@davemloft.net>2008-03-05 13:48:10 -0500
commit4591db4f37618f37a9f1f25d291c3c7a43a15a21 (patch)
tree10694d610a78d8cc607fcb2998e4dc97856138f6 /include
parent6fda73500581be531fd9bc232173332ec64f6435 (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')
-rw-r--r--include/net/ip6_route.h3
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
44extern void ip6_route_input(struct sk_buff *skb); 44extern void ip6_route_input(struct sk_buff *skb);
45 45
46extern struct dst_entry * ip6_route_output(struct sock *sk, 46extern struct dst_entry * ip6_route_output(struct net *net,
47 struct sock *sk,
47 struct flowi *fl); 48 struct flowi *fl);
48 49
49extern int ip6_route_init(void); 50extern int ip6_route_init(void);