diff options
author | Stefan Siegl <stesie@brokenpipe.de> | 2007-10-08 21:05:17 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:12 +0200 |
commit | 6f80e03082b422af98f4aef1c49cd4176e0bbbb2 (patch) | |
tree | 5d6e70aadce8f43af3b324b02ec8d828da8cb603 | |
parent | 0b09b218b54ef35701b05351aaf410044745c00c (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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | linux/dev/glue/net.c | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-10-08 Stefan Siegl <stesie@brokenpipe.de> + + * linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag + on device and propagate. + 2007-10-02 Samuel Thibault <samuel.thibault@ens-lyon.org> * kern/zalloc.c (zget_space): Fix last change. 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, |