netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] iptables: "cluster" match uses IPv6-specific code without ifdef
       [not found] <1238100203-23454-1-git-send-email-steven@uplinklabs.net>
@ 2009-03-27  9:19 ` Pablo Neira Ayuso
  2009-03-27  9:29   ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2009-03-27  9:19 UTC (permalink / raw)
  To: Steven Noonan; +Cc: linux-kernel, Netfilter Development Mailinglist

Steven Noonan wrote:
> The symbol __ipv6_addr_type is only available with CONFIG_IPV6 or
> CONFIG_IPV6_MODULE.

Please, CC netfilter-devel for netfilter-related issues. Patrick, I'm
fine with this, can you apply this patch?

Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] iptables: "cluster" match uses IPv6-specific code without ifdef
  2009-03-27  9:19 ` [PATCH] iptables: "cluster" match uses IPv6-specific code without ifdef Pablo Neira Ayuso
@ 2009-03-27  9:29   ` Patrick McHardy
  2009-03-27 12:47     ` Pablo Neira Ayuso
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick McHardy @ 2009-03-27  9:29 UTC (permalink / raw)
  To: Pablo Neira Ayuso
  Cc: Steven Noonan, linux-kernel, Netfilter Development Mailinglist

Pablo Neira Ayuso wrote:
> Steven Noonan wrote:
>> The symbol __ipv6_addr_type is only available with CONFIG_IPV6 or
>> CONFIG_IPV6_MODULE.
> 
> Please, CC netfilter-devel for netfilter-related issues. Patrick, I'm
> fine with this, can you apply this patch?

Is my reading correct that this won't introduce a module
dependency on IPv6?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] iptables: "cluster" match uses IPv6-specific code without ifdef
  2009-03-27  9:29   ` Patrick McHardy
@ 2009-03-27 12:47     ` Pablo Neira Ayuso
  2009-03-27 12:50       ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Pablo Neira Ayuso @ 2009-03-27 12:47 UTC (permalink / raw)
  To: Patrick McHardy
  Cc: Steven Noonan, linux-kernel, Netfilter Development Mailinglist

Patrick McHardy wrote:
> Pablo Neira Ayuso wrote:
>> Steven Noonan wrote:
>>> The symbol __ipv6_addr_type is only available with CONFIG_IPV6 or
>>> CONFIG_IPV6_MODULE.
>>
>> Please, CC netfilter-devel for netfilter-related issues. Patrick, I'm
>> fine with this, can you apply this patch?
> 
> Is my reading correct that this won't introduce a module
> dependency on IPv6?

Hm, this fixes a compilation issue when IPv6 is not enabled. In that
case you can still use the cluster match, so I don't see any extra
modules dependencies.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] iptables: "cluster" match uses IPv6-specific code without ifdef
  2009-03-27 12:47     ` Pablo Neira Ayuso
@ 2009-03-27 12:50       ` Patrick McHardy
  2009-03-29 11:49         ` Harald Welte
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick McHardy @ 2009-03-27 12:50 UTC (permalink / raw)
  To: Pablo Neira Ayuso
  Cc: Steven Noonan, linux-kernel, Netfilter Development Mailinglist

Pablo Neira Ayuso wrote:
> Patrick McHardy wrote:
>> Pablo Neira Ayuso wrote:
>>> Steven Noonan wrote:
>>>> The symbol __ipv6_addr_type is only available with CONFIG_IPV6 or
>>>> CONFIG_IPV6_MODULE.
>>> Please, CC netfilter-devel for netfilter-related issues. Patrick, I'm
>>> fine with this, can you apply this patch?
>> Is my reading correct that this won't introduce a module
>> dependency on IPv6?
> 
> Hm, this fixes a compilation issue when IPv6 is not enabled. In that
> case you can still use the cluster match, so I don't see any extra
> modules dependencies.

That was badly phrased, sorry. The patch of course doesn't change
anything in that regard.

I'm wondering whether we have a (runtime) dependency on the ipv6
module due to the ipv6_addr_type() call. If that's the case, it
would need to be fixed as well.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] iptables: "cluster" match uses IPv6-specific code without ifdef
  2009-03-27 12:50       ` Patrick McHardy
@ 2009-03-29 11:49         ` Harald Welte
  0 siblings, 0 replies; 5+ messages in thread
From: Harald Welte @ 2009-03-29 11:49 UTC (permalink / raw)
  To: Patrick McHardy
  Cc: Pablo Neira Ayuso, Steven Noonan, linux-kernel,
	Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 1436 bytes --]

On Fri, Mar 27, 2009 at 01:50:16PM +0100, Patrick McHardy wrote:
> Pablo Neira Ayuso wrote:
>> Patrick McHardy wrote:
>>> Pablo Neira Ayuso wrote:
>>>> Steven Noonan wrote:
>>>>> The symbol __ipv6_addr_type is only available with CONFIG_IPV6 or
>>>>> CONFIG_IPV6_MODULE.
>>>> Please, CC netfilter-devel for netfilter-related issues. Patrick, I'm
>>>> fine with this, can you apply this patch?
>>> Is my reading correct that this won't introduce a module
>>> dependency on IPv6?
>>
>> Hm, this fixes a compilation issue when IPv6 is not enabled. In that
>> case you can still use the cluster match, so I don't see any extra
>> modules dependencies.
>
> That was badly phrased, sorry. The patch of course doesn't change
> anything in that regard.
>
> I'm wondering whether we have a (runtime) dependency on the ipv6
> module due to the ipv6_addr_type() call. If that's the case, it
> would need to be fixed as well.

we don't, see my other mail (linux-next) tree.  It's provided by a function
that is always statically linked into vmlinux.

-- 
- Harald Welte <laforge@netfilter.org>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-29 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1238100203-23454-1-git-send-email-steven@uplinklabs.net>
2009-03-27  9:19 ` [PATCH] iptables: "cluster" match uses IPv6-specific code without ifdef Pablo Neira Ayuso
2009-03-27  9:29   ` Patrick McHardy
2009-03-27 12:47     ` Pablo Neira Ayuso
2009-03-27 12:50       ` Patrick McHardy
2009-03-29 11:49         ` Harald Welte

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).