Lucid SRU - UBUNTU: SAUCE: netns: Add quota for number of NET_NS instances.
leann.ogasawara at canonical.com
Mon Dec 19 14:39:27 UTC 2011
On Mon, 2011-12-19 at 06:50 -0700, Tim Gardner wrote:
> On 12/01/2011 02:48 PM, Tim Gardner wrote:
> > Please consider this (untested) patch for inclusion in Lucid. See the
> > discussion in http://bugs.launchpad.net/bugs/790863 for arguments
> > proposing to restore CONFIG_NET_NS.
> > I'll post a test kernel to the bug in awhile.
> > One of the issues I have with this patch is that it appears that any
> > consumer of network name spaces will have to initially write a non-zero
> > value to netns_max before _any_ name spaces can be successfully
> > allocated. If copy_net_ns() fails in create_new_namespaces(), then it
> > seems the whole allocation is buggered.
> > rtg
> At least 2 testers have reported good results with this patch. Is there
> any dissent ? Otherwise I shall apply it to master-next.
Given your simpler approach has generated positive testing feedback, I
think you should apply it.
Acked-by: Leann Ogasawara <leann.ogasawara at canonical.com>
More information about the kernel-team