From: David Miller <davem@davemloft.net>
To: xemul@openvz.org
Cc: netdev@vger.kernel.org, containers@lists.osdl.org, devel@openvz.org
Subject: Re: [PATCH net-2.6.25 2/3]sysctl: prepare core tables to point to netns variables
Date: Sat, 08 Dec 2007 00:12:05 -0800 (PST) [thread overview]
Message-ID: <20071208.001205.166185340.davem@davemloft.net> (raw)
In-Reply-To: <47594659.2050505@openvz.org>
From: Pavel Emelyanov <xemul@openvz.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@openvz.org>
Applied, but please see if you can find a more pretty way to
do this, thanks.
prev parent reply other threads:[~2007-12-08 8:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-07 13:10 [PATCH net-2.6.25 2/3]sysctl: prepare core tables to point to netns variables Pavel Emelyanov
2007-12-08 8:12 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071208.001205.166185340.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=containers@lists.osdl.org \
--cc=devel@openvz.org \
--cc=netdev@vger.kernel.org \
--cc=xemul@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).