summaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2008-03-07 11:14:16 -0800
committerDavid S. Miller <davem@davemloft.net>2008-03-07 11:14:16 -0800
commit8a3edd800dcdf949953777c73abf54de261574e8 (patch)
treefadfd25614bb08d85776f5ea2a8ca532d775e9bb /net/ipv6/route.c
parentdb8dac20d5199307dcfcf4e01dac4bda5edf9e89 (diff)
downloadtalos-obmc-linux-8a3edd800dcdf949953777c73abf54de261574e8.tar.gz
talos-obmc-linux-8a3edd800dcdf949953777c73abf54de261574e8.zip
[NETNS][IPV6] fix some missing namespace
This patch adds some missing namespace Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 15e9a86f28c8..a4b5aee0f68a 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -2261,7 +2261,7 @@ static int inet6_rtm_getroute(struct sk_buff *in_skb, struct nlmsghdr* nlh, void
skb_reset_mac_header(skb);
skb_reserve(skb, MAX_HEADER + sizeof(struct ipv6hdr));
- rt = (struct rt6_info*) ip6_route_output(&init_net, NULL, &fl);
+ rt = (struct rt6_info*) ip6_route_output(net, NULL, &fl);
skb->dst = &rt->u.dst;
err = rt6_fill_node(skb, rt, &fl.fl6_dst, &fl.fl6_src, iif,
OpenPOWER on IntegriCloud