All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>,
	David Miller <davem@davemloft.net>,
	Netfilter Developer Mailing List
	<netfilter-devel@vger.kernel.org>,
	sam@ravnborg.org, zippel@linux-m68k.org
Subject: Re: RFC: net/netfilter reorganization
Date: Mon, 06 Oct 2008 12:07:36 +0200	[thread overview]
Message-ID: <48E9E368.50901@trash.net> (raw)
In-Reply-To: <alpine.LNX.1.10.0810051909430.3354@fbirervta.pbzchgretzou.qr>

Jan Engelhardt wrote:
> Hm I just noticed a not-nice kconfig behavior.
> 
> If I have a .config with
> 
> 	TARGET_CTMARK=m
> 	MATCH_CTMARK=m
> 	# BOTH_CTMARK not listed at all
> 
> and a Kconfig file with
> 
> 	config TARGET_CTMARK
> 		tristate
> 		select BOTH_CTMARK
> 	config MATCH_CTMARK
> 		tristate
> 		select BOTH_CTMARK
> 	config BOTH_CTMARK
> 		tristate "shiny new module"
> 
> Then oldconfig will still ask me to choose [N/m] for BOTH_CTMARK. Only 
> if I use
> 
> 	config TARGET_CTMARK
> 		tristate "foo"
> 		select BOTH_CTMARK
> 	config MATCH_CTMARK
> 		tristate "bar"
> 		select BOTH_CTMARK
> 	config BOTH_CTMARK
> 		tristate "shiny new module"
> 
> i.e. add strings, it will proceed without asking me anything. Meh that's 
> bad. I can think of odd workarounds like
> 
> 	config TARGET_CTMARK
> 		tristate "shiny new module"
> 	config MATCH_CTMARK
> 		select BOTH_CTMARK
> 	config BOTH_CTMARK
> 		select TARGET_CTMARK
> 
> but that looks a bit odd. Requesting more comments.

That should be fine though since the old options already exist
(in most cases)?

BTW, does it make any difference if you add a dependency
on TARGET_CTMARK || MATCH_CTMARK?


  reply	other threads:[~2008-10-06 10:07 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-05 12:34 RFC: net/netfilter reorganization Patrick McHardy
2008-10-05 13:47 ` Jan Engelhardt
2008-10-05 14:02   ` Patrick McHardy
2008-10-05 14:35     ` Jan Engelhardt
2008-10-05 14:48       ` Patrick McHardy
2008-10-05 16:02         ` David Miller
2008-10-05 16:11           ` Patrick McHardy
2008-10-05 16:15             ` Jan Engelhardt
2008-10-05 16:21               ` Patrick McHardy
2008-10-05 16:25                 ` Jan Engelhardt
2008-10-05 16:32                   ` Patrick McHardy
2008-10-05 19:06                   ` Jozsef Kadlecsik
2008-10-05 20:28                     ` David Miller
2008-10-05 20:33                       ` Jan Engelhardt
2008-10-05 20:48                         ` Jan Engelhardt
2008-10-05 21:42                           ` Jozsef Kadlecsik
2008-10-05 22:00                             ` Patrick McHardy
2008-10-05 23:16                               ` Jan Engelhardt
2008-10-06 10:07                                 ` Patrick McHardy [this message]
2008-10-07  1:08                                   ` Jan Engelhardt
2008-10-07 11:34                                     ` Roman Zippel
2008-10-07 15:30                                       ` Jan Engelhardt
2008-10-07 17:09                                         ` Roman Zippel
2008-10-07 17:44                                           ` Jan Engelhardt
2008-10-13 18:52                                             ` Roman Zippel
2008-10-17 14:53                                               ` Jan Engelhardt
2008-10-06  7:23                               ` Jozsef Kadlecsik
2008-10-06 10:09                                 ` Patrick McHardy
2008-10-05 16:17             ` David Miller
2008-10-05 16:22               ` Patrick McHardy
2008-10-06 16:17         ` Jan Engelhardt
2008-10-05 21:51   ` Jozsef Kadlecsik

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=48E9E368.50901@trash.net \
    --to=kaber@trash.net \
    --cc=davem@davemloft.net \
    --cc=jengelh@medozas.de \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=zippel@linux-m68k.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.