netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: Patrick McHardy <kaber@trash.net>
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 15:37:27 +0200	[thread overview]
Message-ID: <20100113133727.GC16975@x200> (raw)
In-Reply-To: <4B4DCA2C.7020000@trash.net>

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.

  reply	other threads:[~2010-01-13 13:37 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 [this message]
2010-01-13 13:42         ` Patrick McHardy
2010-01-13 13:47           ` Alexey Dobriyan
2010-01-13 13:49             ` Patrick McHardy

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=20100113133727.GC16975@x200 \
    --to=adobriyan@gmail.com \
    --cc=containers@lists.linux-foundation.org \
    --cc=kaber@trash.net \
    --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).