summaryrefslogtreecommitdiff
path: root/linux/dev/glue
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2007-10-08 21:05:17 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:12 +0200
commit6f80e03082b422af98f4aef1c49cd4176e0bbbb2 (patch)
tree5d6e70aadce8f43af3b324b02ec8d828da8cb603 /linux/dev/glue
parent0b09b218b54ef35701b05351aaf410044745c00c (diff)
2007-10-08 Stefan Siegl <stesie@brokenpipe.de>
* linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag on device and propagate.
Diffstat (limited to 'linux/dev/glue')
-rw-r--r--linux/dev/glue/net.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/dev/glue/net.c b/linux/dev/glue/net.c
index 1a7a1e6..1e07497 100644
--- a/linux/dev/glue/net.c
+++ b/linux/dev/glue/net.c
@@ -398,8 +398,11 @@ device_open (ipc_port_t reply_port, mach_msg_type_name_t reply_port_type,
}
else
{
- dev->flags |= LINUX_IFF_UP | LINUX_IFF_RUNNING;
+ dev->flags |= LINUX_IFF_UP | LINUX_IFF_RUNNING | LINUX_IFF_ALLMULTI;
skb_queue_head_init (&dev->buffs[0]);
+
+ if (dev->set_multicast_list)
+ dev->set_multicast_list (dev);
}
if (IP_VALID (reply_port))
ds_device_open_reply (reply_port, reply_port_type,