[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080305.080225.41277542.yoshfuji@linux-ipv6.org>
Date: Wed, 05 Mar 2008 08:02:25 +0900 (JST)
From: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>
To: dlezcano@...ibm.com
Cc: davem@...emloft.net, netdev@...r.kernel.org,
benjamin.thery@...l.net, yoshfuji@...ux-ipv6.org
Subject: Re: [patch 06/12][NETNS][IPV6] route6 - make route6 per namespace
In article <20080304211023.817913201@....toulouse-stg.fr.ibm.com> (at Tue, 04 Mar 2008 22:03:32 +0100), Daniel Lezcano <dlezcano@...ibm.com> says:
> This patch makes the routing engine use the network namespaces
> to access routing informations:
> Add a network namespace parameter to ipv6_route_ioctl and
> propagate the network namespace value to all the routing code
> that have not yet been changed.
>
> Signed-off-by: Daniel Lezcano <dlezcano@...ibm.com>
> Signed-off-by: Benjamin Thery <benjamin.thery@...l.net>
> ---
> include/net/ip6_route.h | 4 +
> net/ipv6/af_inet6.c | 3 -
> net/ipv6/route.c | 98 ++++++++++++++++++++++++------------------------
> 3 files changed, 54 insertions(+), 51 deletions(-)
>
:
> @@ -2544,6 +2545,7 @@ static void ip6_route_net_exit(struct ne
> proc_net_remove(net, "ipv6_route");
> proc_net_remove(net, "rt6_stats");
> #endif
> + rt6_ifdown(net, NULL);
> }
>
> static struct pernet_operations ip6_route_net_ops = {
> @@ -2592,7 +2594,6 @@ fib6_rules_init:
> xfrm6_init:
> xfrm6_fini();
> out_fib6_init:
> - rt6_ifdown(&init_net, NULL);
> fib6_gc_cleanup();
> out_kmem_cache:
> kmem_cache_destroy(ip6_dst_ops.kmem_cachep);
Please do not change the calling path here.
--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists