From: Patrick McHardy <kaber@trash.net>
To: Alexey Dobriyan <adobriyan@gmail.com>
Cc: netfilter-devel@vger.kernel.org, containers@lists.linux-foundation.org
Subject: Re: [PATCH 1/2] nfnetlink: add netns support
Date: Wed, 13 Jan 2010 14:49:09 +0100 [thread overview]
Message-ID: <4B4DCF55.80607@trash.net> (raw)
In-Reply-To: <20100113134714.GA19594@x200>
Alexey Dobriyan wrote:
> On Wed, Jan 13, 2010 at 02:42:00PM +0100, Patrick McHardy wrote:
>> Alexey Dobriyan wrote:
>>> On Wed, Jan 13, 2010 at 02:27:08PM +0100, Patrick McHardy wrote:
>>>> Alexey Dobriyan wrote:
>>>>> On Wed, Jan 13, 2010 at 02:02:33PM +0100, Patrick McHardy wrote:
>>>>>> Alexey Dobriyan wrote:
>>>>>>> + struct sock *nfnl;
>>>>>>> + struct sock *nfnl_stash;
>>>>>> Shouldn't this be contained in an ifdef(CONFIG_NETFILTER_NETLINK)
>>>>>> (_MODULE) ?
>>>>> No, otherwise you won't be able to start using, e. g., nfnetlink_log
>>>>> module on NETFILTER_NETLINK=n kernels without reboot.
>>>> You mean after enabling CONFIG_NETFILTER_NETLINK?
>>> Yes, and it can't be directly enabled, because it's hidden option.
>>>
>>>> That seems like a pretty poor argument, you have to do a reboot after
>>>> changing a lot of config options.
>>> It's still a step back if I add #ifdef and a regression if you ask me.
>>> The price is only two pointers per-netns.
>> Yes, I don't mind much, but I still think this is not an argument
>> at all. Whether you have to reboot after changing your configuration
>> has never been "stable" and we don't consider it when making changes.
>
> Perhaps we should start considering it.
>
> What's bool is bool and fair game.
> What's tristate better be fully tristate.
That's silly. Any configuration option is allowed to change
data structure layout, at which point you'll often need to
reboot.
prev parent reply other threads:[~2010-01-13 13:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-13 12:24 [PATCH 1/2] nfnetlink: add netns support Alexey Dobriyan
2010-01-13 13:02 ` Patrick McHardy
2010-01-13 13:22 ` Alexey Dobriyan
2010-01-13 13:27 ` Patrick McHardy
2010-01-13 13:37 ` Alexey Dobriyan
2010-01-13 13:42 ` Patrick McHardy
2010-01-13 13:47 ` Alexey Dobriyan
2010-01-13 13:49 ` Patrick McHardy [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=4B4DCF55.80607@trash.net \
--to=kaber@trash.net \
--cc=adobriyan@gmail.com \
--cc=containers@lists.linux-foundation.org \
--cc=netfilter-devel@vger.kernel.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).