[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>
This commit is contained in:
committed by
David S. Miller
parent
db8dac20d5
commit
8a3edd800d
@@ -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,
|
||||
|
Reference in New Issue
Block a user