summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2007-10-09 07:44:17 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:13 +0200
commit360f0eb0521cb94fe98f452b1629032804712b0b (patch)
tree162813dd114eb042ffd21bcd2ee6691d4f8db7b0
parent6f80e03082b422af98f4aef1c49cd4176e0bbbb2 (diff)
2007-10-09 Thomas Schwinge <tschwinge@gnu.org>
* linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment.
-rw-r--r--ChangeLog4
-rw-r--r--linux/dev/glue/net.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0b5b7c8..9bc2726 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-09 Thomas Schwinge <tschwinge@gnu.org>
+
+ * linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment.
+
2007-10-08 Stefan Siegl <stesie@brokenpipe.de>
* linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag
diff --git a/linux/dev/glue/net.c b/linux/dev/glue/net.c
index 1e07497..b76e098 100644
--- a/linux/dev/glue/net.c
+++ b/linux/dev/glue/net.c
@@ -398,6 +398,9 @@ device_open (ipc_port_t reply_port, mach_msg_type_name_t reply_port_type,
}
else
{
+ /* IPv6 heavily relies on multicasting (especially router and
+ neighbor solicits and advertisements), so enable reception of
+ those multicast packets by setting `LINUX_IFF_ALLMULTI'. */
dev->flags |= LINUX_IFF_UP | LINUX_IFF_RUNNING | LINUX_IFF_ALLMULTI;
skb_queue_head_init (&dev->buffs[0]);