summaryrefslogtreecommitdiff
path: root/linux/dev
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 /linux/dev
parent6f80e03082b422af98f4aef1c49cd4176e0bbbb2 (diff)
2007-10-09 Thomas Schwinge <tschwinge@gnu.org>
* linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment.
Diffstat (limited to 'linux/dev')
-rw-r--r--linux/dev/glue/net.c3
1 files changed, 3 insertions, 0 deletions
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]);