diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-23 07:07:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-29 00:11:06 +0100 |
commit | f1b050bf7a88910f9f00c9c8989c1bf5a67dd140 (patch) | |
tree | 37e8dce4268cb657a75e5074a38db48264f1e42f /net/ipv4/af_inet.c | |
parent | [NETNS]: Add namespace parameter to __ip_route_output_key. (diff) | |
download | linux-f1b050bf7a88910f9f00c9c8989c1bf5a67dd140.tar.xz linux-f1b050bf7a88910f9f00c9c8989c1bf5a67dd140.zip |
[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/ipv4/af_inet.c')
-rw-r--r-- | net/ipv4/af_inet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index bcf8c8a4a3ad..09ca5293d08f 100644 --- a/net/ipv4/af_inet.c +++ b/net/ipv4/af_inet.c @@ -1113,7 +1113,7 @@ int inet_sk_rebuild_header(struct sock *sk) }; security_sk_classify_flow(sk, &fl); - err = ip_route_output_flow(&rt, &fl, sk, 0); + err = ip_route_output_flow(&init_net, &rt, &fl, sk, 0); } if (!err) sk_setup_caps(sk, &rt->u.dst); |