diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-22 22:07:10 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:11:06 -0800 |
commit | f1b050bf7a88910f9f00c9c8989c1bf5a67dd140 (patch) | |
tree | 37e8dce4268cb657a75e5074a38db48264f1e42f /net/dccp/ipv4.c | |
parent | 611c183ebcb5af384df3a4ddb391034a1b6ac255 (diff) | |
download | op-kernel-dev-f1b050bf7a88910f9f00c9c8989c1bf5a67dd140.zip op-kernel-dev-f1b050bf7a88910f9f00c9c8989c1bf5a67dd140.tar.gz |
[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>
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index f450df2..9e38b0d 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -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; } |