[NETNS]: Add namespace parameter to ip_route_output_flow.

Needed to propagate it down to the __ip_route_output_key.

Signed_off_by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Denis V. Lunev
2008-01-22 22:07:10 -08:00
committed by David S. Miller
parent 611c183ebc
commit f1b050bf7a
9 changed files with 14 additions and 13 deletions

View File

@@ -558,7 +558,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
}
security_sk_classify_flow(sk, &fl);
err = ip_route_output_flow(&rt, &fl, sk, 1);
err = ip_route_output_flow(&init_net, &rt, &fl, sk, 1);
}
if (err)
goto done;