* [RFC] Disable addrconf on ~multicast interfaces?
@ 2006-10-05 5:35 Herbert Xu
2006-10-05 6:06 ` YOSHIFUJI Hideaki / 吉藤英明
2006-10-05 6:08 ` Pekka Savola
0 siblings, 2 replies; 6+ messages in thread
From: Herbert Xu @ 2006-10-05 5:35 UTC (permalink / raw)
To: YOSHIFUJI Hideaki, netdev
Hi Yoshifuji-san:
Are there any non-multicast interfaces that require addrconf?
In other words, what does the following patch break :)
Thanks,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -2130,6 +2130,9 @@ static void addrconf_dev_config(struct n
return;
}
+ if (!(dev->flags & IFF_MULTICAST))
+ return;
+
idev = addrconf_add_dev(dev);
if (idev == NULL)
return;
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC] Disable addrconf on ~multicast interfaces?
2006-10-05 5:35 [RFC] Disable addrconf on ~multicast interfaces? Herbert Xu
@ 2006-10-05 6:06 ` YOSHIFUJI Hideaki / 吉藤英明
2006-10-05 6:17 ` Herbert Xu
2006-10-05 6:08 ` Pekka Savola
1 sibling, 1 reply; 6+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2006-10-05 6:06 UTC (permalink / raw)
To: herbert; +Cc: netdev, yoshfuji
In article <20061005053531.GA19482@gondor.apana.org.au> (at Thu, 5 Oct 2006 15:35:31 +1000), Herbert Xu <herbert@gondor.apana.org.au> says:
> Are there any non-multicast interfaces that require addrconf?
> In other words, what does the following patch break :)
Why do you want to do this? Xen issue?
As Alexey mentioned before, addrconf should work even for !MULTICAST &&
BROADCAST. This is true for POINTOPOINT as well; ISATAP will use this.
--
YOSHIFUJI Hideaki @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG-FP : 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC] Disable addrconf on ~multicast interfaces?
2006-10-05 5:35 [RFC] Disable addrconf on ~multicast interfaces? Herbert Xu
2006-10-05 6:06 ` YOSHIFUJI Hideaki / 吉藤英明
@ 2006-10-05 6:08 ` Pekka Savola
2006-10-05 6:35 ` Herbert Xu
1 sibling, 1 reply; 6+ messages in thread
From: Pekka Savola @ 2006-10-05 6:08 UTC (permalink / raw)
To: Herbert Xu; +Cc: YOSHIFUJI Hideaki, netdev
On Thu, 5 Oct 2006, Herbert Xu wrote:
> Are there any non-multicast interfaces that require addrconf?
> In other words, what does the following patch break :)
Point-to-point (or NOARP) interfaces such as tunnels. I'm not sure
what are the right flags to check..
--
Pekka Savola "You each name yourselves king, yet the
Netcore Oy kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC] Disable addrconf on ~multicast interfaces?
2006-10-05 6:06 ` YOSHIFUJI Hideaki / 吉藤英明
@ 2006-10-05 6:17 ` Herbert Xu
0 siblings, 0 replies; 6+ messages in thread
From: Herbert Xu @ 2006-10-05 6:17 UTC (permalink / raw)
To: YOSHIFUJI Hideaki / ?$B5HF#1QL@; +Cc: netdev
On Thu, Oct 05, 2006 at 03:06:34PM +0900, YOSHIFUJI Hideaki / ?$B5HF#1QL@ wrote:
>
> Why do you want to do this? Xen issue?
Yes it's to disable addrconf on the Xen bridge interface.
> As Alexey mentioned before, addrconf should work even for !MULTICAST &&
> BROADCAST. This is true for POINTOPOINT as well; ISATAP will use this.
I'm only proposing this as a stop-gap measure until we have a way to
disable addrconf before ifup, or until Xen loses the netloop interface.
So what I'd like to know is what setups this patch would break. ISATAP
uses SIT right? This patch only affects Ethernet-type interfaces so it
shouldn't affect SIT at all.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [RFC] Disable addrconf on ~multicast interfaces?
2006-10-05 6:08 ` Pekka Savola
@ 2006-10-05 6:35 ` Herbert Xu
2006-10-05 9:54 ` !! SPAM Suspect : SPAM-URL-DBL !! " Jean-Philippe Andriot
0 siblings, 1 reply; 6+ messages in thread
From: Herbert Xu @ 2006-10-05 6:35 UTC (permalink / raw)
To: Pekka Savola; +Cc: herbert, yoshfuji, netdev
Pekka Savola <pekkas@netcore.fi> wrote:
> On Thu, 5 Oct 2006, Herbert Xu wrote:
>> Are there any non-multicast interfaces that require addrconf?
>> In other words, what does the following patch break :)
>
> Point-to-point (or NOARP) interfaces such as tunnels. I'm not sure
> what are the right flags to check..
Tunnels shouldn't even get into that function so they aren't
affected. Are there any Ethernet-like interfaces which do not
set IFF_MULTICAST yet still require addrconf?
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: !! SPAM Suspect : SPAM-URL-DBL !! Re: [RFC] Disable addrconf on ~multicast interfaces?
2006-10-05 6:35 ` Herbert Xu
@ 2006-10-05 9:54 ` Jean-Philippe Andriot
0 siblings, 0 replies; 6+ messages in thread
From: Jean-Philippe Andriot @ 2006-10-05 9:54 UTC (permalink / raw)
To: Herbert Xu; +Cc: Pekka Savola, yoshfuji, netdev
This patch will break multicast forwarding using the pim6 daemon.
This daemon creates an interface called pim6reg which is not MULTICAST
enabled but needs to be configred by addrconf to get ff00::/8 and
fe80::/64 routes. This is required since the route lookup process has
been enforced to strictly match input interfaces for linklocal and
multicast packets.
Regards,
JP
On Thu, Oct 05, 2006 at 04:35:49PM +1000, Herbert Xu wrote:
> Pekka Savola <pekkas@netcore.fi> wrote:
> > On Thu, 5 Oct 2006, Herbert Xu wrote:
> >> Are there any non-multicast interfaces that require addrconf?
> >> In other words, what does the following patch break :)
> >
> > Point-to-point (or NOARP) interfaces such as tunnels. I'm not sure
> > what are the right flags to check..
>
> Tunnels shouldn't even get into that function so they aren't
> affected. Are there any Ethernet-like interfaces which do not
> set IFF_MULTICAST yet still require addrconf?
>
> Cheers,
> --
> Visit Openswan at http://www.openswan.org/
> Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-10-05 9:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-05 5:35 [RFC] Disable addrconf on ~multicast interfaces? Herbert Xu
2006-10-05 6:06 ` YOSHIFUJI Hideaki / 吉藤英明
2006-10-05 6:17 ` Herbert Xu
2006-10-05 6:08 ` Pekka Savola
2006-10-05 6:35 ` Herbert Xu
2006-10-05 9:54 ` !! SPAM Suspect : SPAM-URL-DBL !! " Jean-Philippe Andriot
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).