From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Denis V. Lunev" Subject: Re: [PATCH 4/4 (resent) net-2.6.25][UNIX] Make the unix sysctl tables per-namespace Date: Sat, 01 Dec 2007 16:07:05 +0300 Message-ID: <47515C79.9060903@openvz.org> References: <47503919.8060103@openvz.org> <47503C48.8020001@openvz.org> <20071201125726.GC15910@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Linux Containers , Linux Netdev List , "Eric W. Biederman" , Pavel Emelyanov To: Herbert Xu Return-path: In-Reply-To: <20071201125726.GC15910-lOAM2aK0SrRLBo1qDEOMRrpzq4S04n8Q@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: netdev.vger.kernel.org Herbert Xu wrote: > On Fri, Nov 30, 2007 at 07:37:28PM +0300, Pavel Emelyanov wrote: >> Signed-off-by: Pavel Emelyanov > > All applied to net-2.6.25. > >> diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h >> index b0cf075..f97b2a4 100644 >> --- a/include/net/net_namespace.h >> +++ b/include/net/net_namespace.h >> @@ -41,6 +43,7 @@ struct net { >> >> /* unix sockets */ >> int sysctl_unix_max_dgram_qlen; >> + struct ctl_table_header *unix_ctl; >> }; > > But I gotta say this struct/file is going to be enormous. It's also > one of those files that causes everything to get recompiled. Maybe > we ought to make a rule that each subsystem only gets to have at most > one entry in it :) > > Thanks, Good point, thanks. We'll start thinking in that direction. Right now it is not finally cursed with all staff around. Regards, Den