netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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

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