From: Brian Haley <brian.haley@hp.com>
To: Jan Beulich <JBeulich@novell.com>
Cc: linus.luessing@web.de, netdev@vger.kernel.org,
bridge@lists.linux-foundation.org, davem@davemloft.net
Subject: Re: [Bridge] build breakage due to br_multicast.c referencing ipv6_dev_get_saddr()
Date: Thu, 17 Mar 2011 09:45:23 -0400 [thread overview]
Message-ID: <4D821073.20602@hp.com> (raw)
In-Reply-To: <4D81CCF80200007800036FFD@vpn.id2.novell.com>
On 03/17/2011 03:57 AM, Jan Beulich wrote:
>>>> On 16.03.11 at 18:34, Brian Haley <brian.haley@hp.com> wrote:
>> On 03/16/2011 08:34 AM, Jan Beulich wrote:
>>> With BRIDGE=y and IPV6=m commit
>>> fe29ec41aaa51902aebd63658dfb04fe6fea8be5 ("bridge: Use IPv6
>>> link-local address for multicast listener queries") causes the build to
>>> break.
>>>
>>> Similary, even if both are =m, but ipv6.ko got blacklisted (as is
>>> happening in various SuSE distros when disabling IPv6), there's
>>> a runtime problem since bridge.ko then won't load anymore due
>>> to the missing symbol.
>>
>> Load the ipv6 module with disable=1, which is why I added it :)
>
> Indeed, I realized there is such an option only after I sent
> that mail. Nevertheless, I think it is overkill to load a huge
> module like this just to satisfy never actually used symbol
> references.
I could also argue that the bridge code could change into IPv4-only
and IPv6-only pieces to avoid this too (without actually looking
at the code of course). But in this case you actually built the kernel
with IPV6=m right?
> In fact, just like it seems bogus to load ipv6.ko in a pure IPv4
> environment, I think the opposite is also true: IPv4 support
> should be in a module, and it should be possible to not load
> it in a pure IPv6 environment.
That's a much bigger nut to crack...
-Brian
WARNING: multiple messages have this Message-ID (diff)
From: Brian Haley <brian.haley@hp.com>
To: Jan Beulich <JBeulich@novell.com>
Cc: davem@davemloft.net, shemminger@linux-foundation.org,
bridge@lists.linux-foundation.org, netdev@vger.kernel.org,
linus.luessing@web.de
Subject: Re: build breakage due to br_multicast.c referencing ipv6_dev_get_saddr()
Date: Thu, 17 Mar 2011 09:45:23 -0400 [thread overview]
Message-ID: <4D821073.20602@hp.com> (raw)
In-Reply-To: <4D81CCF80200007800036FFD@vpn.id2.novell.com>
On 03/17/2011 03:57 AM, Jan Beulich wrote:
>>>> On 16.03.11 at 18:34, Brian Haley <brian.haley@hp.com> wrote:
>> On 03/16/2011 08:34 AM, Jan Beulich wrote:
>>> With BRIDGE=y and IPV6=m commit
>>> fe29ec41aaa51902aebd63658dfb04fe6fea8be5 ("bridge: Use IPv6
>>> link-local address for multicast listener queries") causes the build to
>>> break.
>>>
>>> Similary, even if both are =m, but ipv6.ko got blacklisted (as is
>>> happening in various SuSE distros when disabling IPv6), there's
>>> a runtime problem since bridge.ko then won't load anymore due
>>> to the missing symbol.
>>
>> Load the ipv6 module with disable=1, which is why I added it :)
>
> Indeed, I realized there is such an option only after I sent
> that mail. Nevertheless, I think it is overkill to load a huge
> module like this just to satisfy never actually used symbol
> references.
I could also argue that the bridge code could change into IPv4-only
and IPv6-only pieces to avoid this too (without actually looking
at the code of course). But in this case you actually built the kernel
with IPV6=m right?
> In fact, just like it seems bogus to load ipv6.ko in a pure IPv4
> environment, I think the opposite is also true: IPv4 support
> should be in a module, and it should be possible to not load
> it in a pure IPv6 environment.
That's a much bigger nut to crack...
-Brian
next prev parent reply other threads:[~2011-03-17 13:45 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 12:34 [Bridge] build breakage due to br_multicast.c referencing ipv6_dev_get_saddr() Jan Beulich
2011-03-16 12:34 ` Jan Beulich
2011-03-16 15:24 ` [Bridge] " Stephen Hemminger
2011-03-16 15:24 ` Stephen Hemminger
2011-03-16 17:49 ` [Bridge] " David Miller
2011-03-16 17:49 ` David Miller
2011-03-17 7:53 ` [Bridge] " Jan Beulich
2011-03-17 7:53 ` Jan Beulich
2011-03-17 8:01 ` [Bridge] " Jan Beulich
2011-03-17 8:01 ` Jan Beulich
2011-03-17 8:23 ` [Bridge] " Eric Dumazet
2011-03-17 8:23 ` Eric Dumazet
2011-03-17 13:00 ` [Bridge] " David Miller
2011-03-17 13:00 ` David Miller
2011-03-16 16:41 ` [Bridge] " Stephen Hemminger
2011-03-16 16:41 ` Stephen Hemminger
2011-03-16 17:34 ` [Bridge] " Brian Haley
2011-03-16 17:34 ` Brian Haley
2011-03-17 7:57 ` [Bridge] " Jan Beulich
2011-03-17 7:57 ` Jan Beulich
2011-03-17 13:45 ` Brian Haley [this message]
2011-03-17 13:45 ` Brian Haley
2011-03-16 17:49 ` [Bridge] " David Miller
2011-03-16 17:49 ` David Miller
2011-03-22 21:40 ` [Bridge] " Linus Lüssing
2011-03-22 21:40 ` Linus Lüssing
2011-03-22 21:40 ` [Bridge] [PATCH] bridge: Fix possibly wrong MLD queries' ethernet source address Linus Lüssing
2011-03-22 21:40 ` Linus Lüssing
2011-03-23 2:26 ` [Bridge] " David Miller
2011-03-23 2:26 ` David Miller
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=4D821073.20602@hp.com \
--to=brian.haley@hp.com \
--cc=JBeulich@novell.com \
--cc=bridge@lists.linux-foundation.org \
--cc=davem@davemloft.net \
--cc=linus.luessing@web.de \
--cc=netdev@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 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.