[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:
committed by
David S. Miller
parent
611c183ebc
commit
f1b050bf7a
@@ -350,7 +350,7 @@ int ip_queue_xmit(struct sk_buff *skb, int ipfragok)
|
||||
* itself out.
|
||||
*/
|
||||
security_sk_classify_flow(sk, &fl);
|
||||
if (ip_route_output_flow(&rt, &fl, sk, 0))
|
||||
if (ip_route_output_flow(&init_net, &rt, &fl, sk, 0))
|
||||
goto no_route;
|
||||
}
|
||||
sk_setup_caps(sk, &rt->u.dst);
|
||||
|
Reference in New Issue
Block a user