"Serge E. Hallyn" <serue@us.ibm.com> writes: > > What I tried to do in a proof of concept long ago was to have > CLONE_NETNS mean that you get access to all the network devices, but > then you could drop/add them. Conceptually I prefer that to getting an > empty namespace, but I'm not sure whether there's any practical use > where you'd want that... My observation was that the network stack does not come out cleanly as a namespace unless you adopt the rule that a network device belongs to exactly one network namespace. With that rule dealing with the network stack is just a matter of making some currently global variables/data structures per container. A pain to do the first round but easy to maintain once you are there and the logic of the code doesn't need to change. Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: The issues for agreeing on a virtualization/namespaces implementation.
- From: Stephen Hemminger <shemminger@osdl.org>
- Re: The issues for agreeing on a virtualization/namespaces implementation.
- From: Herbert Poetzl <herbert@13thfloor.at>
- Re: The issues for agreeing on a virtualization/namespaces implementation.
- References:
- Re: [PATCH 1/4] Virtualization/containers: introduction
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: [PATCH 1/4] Virtualization/containers: introduction
- From: Rik van Riel <riel@redhat.com>
- Re: [PATCH 1/4] Virtualization/containers: introduction
- From: Sam Vilain <sam@vilain.net>
- Re: [PATCH 1/4] Virtualization/containers: introduction
- From: Hubertus Franke <frankeh@watson.ibm.com>
- Re: [PATCH 1/4] Virtualization/containers: introduction
- From: "Serge E. Hallyn" <serue@us.ibm.com>
- Re: [PATCH 1/4] Virtualization/containers: introduction
- From: Hubertus Franke <frankeh@watson.ibm.com>
- The issues for agreeing on a virtualization/namespaces implementation.
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: The issues for agreeing on a virtualization/namespaces implementation.
- From: Hubertus Franke <frankeh@watson.ibm.com>
- Re: The issues for agreeing on a virtualization/namespaces implementation.
- From: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
- Re: The issues for agreeing on a virtualization/namespaces implementation.
- From: ebiederm@xmission.com (Eric W. Biederman)
- Re: The issues for agreeing on a virtualization/namespaces implementation.
- From: "Serge E. Hallyn" <serue@us.ibm.com>
- Re: [PATCH 1/4] Virtualization/containers: introduction
- Prev by Date: Re: [PATCH 04/29] missing includes in drivers/net/mv643xx_eth.c
- Next by Date: Re: Linux drivers management
- Previous by thread: Re: The issues for agreeing on a virtualization/namespaces implementation.
- Next by thread: Re: The issues for agreeing on a virtualization/namespaces implementation.
- Index(es):
![]() |