Hello!
On Sun, Oct 07, 2007 at 03:52:28AM +0200, I wrote:
> - Please mind that IPv6 heavily relies on multicasting (especially
> router and neighbour solicits and advertisements) and that by default
> GNU Mach doesn't configure the network drivers to receive those
> multicasts. This is, you need to patch your Mach kernel:
> [...]
>
> ... however not all network drivers seem to care for this flag. My
> eepro100 does, even the orinoco does, but the ne2k-pci doesn't.
Here's a fixed patch, which makes even the ne2k-pci receive multicast
packets :)
2007-10-07 Stefan Siegl <[EMAIL PROTECTED]>
* linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag
on device and propagate.
Index: net.c
===================================================================
RCS file: /sources/hurd/gnumach/linux/dev/glue/Attic/net.c,v
retrieving revision 1.1.4.7
diff -u -r1.1.4.7 net.c
--- net.c 27 Mar 2007 22:47:11 -0000 1.1.4.7
+++ net.c 7 Oct 2007 17:05:04 -0000
@@ -398,8 +398,11 @@
}
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,
-%-
cheers,
stesie
PS: With GNU Mach/Xen it works out of the box.
_______________________________________________
Bug-hurd mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-hurd