From 6f80e03082b422af98f4aef1c49cd4176e0bbbb2 Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Mon, 8 Oct 2007 21:05:17 +0000 Subject: 2007-10-08 Stefan Siegl * linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag on device and propagate. --- ChangeLog | 5 +++++ linux/dev/glue/net.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b7dc5db..0b5b7c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-08 Stefan Siegl + + * linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag + on device and propagate. + 2007-10-02 Samuel Thibault * 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, -- cgit v1.2.3