[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
@@ -469,7 +469,7 @@ static struct dst_entry* dccp_v4_route_skb(struct sock *sk,
|
||||
};
|
||||
|
||||
security_skb_classify_flow(skb, &fl);
|
||||
if (ip_route_output_flow(&rt, &fl, sk, 0)) {
|
||||
if (ip_route_output_flow(&init_net, &rt, &fl, sk, 0)) {
|
||||
IP_INC_STATS_BH(IPSTATS_MIB_OUTNOROUTES);
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user