[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20071208.001205.166185340.davem@davemloft.net>
Date: Sat, 08 Dec 2007 00:12:05 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, containers@...ts.osdl.org, devel@...nvz.org
Subject: Re: [PATCH net-2.6.25 2/3]sysctl: prepare core tables to point to
netns variables
From: Pavel Emelyanov <xemul@...nvz.org>
Date: Fri, 07 Dec 2007 16:10:49 +0300
> Some of ctl variables are going to be on the struct
> net. Here's the way to adjust the ->data pointer on the
> ctl_table-s to point on the right variable.
>
> Since some pointers still point on the global variables,
> I keep turning the write bits off on such tables.
>
> This looks to become a common procedure for net sysctls,
> so later parts of this code may migrate to some more
> generic place.
>
> Signed-off-by: Pavel Emelyanov <xemul@...nvz.org>
Applied, but please see if you can find a more pretty way to
do this, thanks.
--
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