summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2008-01-21 02:26:26 +0000
committerSamuel Thibault <sthibault@debian.org>2008-01-21 02:26:26 +0000
commit6142ffe13d0e949bfd53eb6973e7b78ed05d99e5 (patch)
treef0c5104192366eb34195c721c97619069f50c345
parenta0089bc7ce816269a8f8b2df256fb27f3f19ecf9 (diff)
* New patch from CVS to enable multicast for IPv6.
- debian/patches/30_net_multicast.patch
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/30_net_multicast.patch33
-rw-r--r--debian/patches/series1
3 files changed, 36 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index b198501..d0b3a0d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ gnumach (2:1.3.99.dfsg.cvs20070809-2) unstable; urgency=low
- debian/patches/21_aligned_zalloc.patch
* New patch to enable IDE multiple sector I/O when the drive can do it.
- debian/patches/16_ide_multsect.patch
+ * New patch from CVS to enable multicast for IPv6.
+ - debian/patches/30_net_multicast.patch
-- Guillem Jover <guillem@debian.org> Thu, 09 Aug 2007 01:45:22 +0300
diff --git a/debian/patches/30_net_multicast.patch b/debian/patches/30_net_multicast.patch
new file mode 100644
index 0000000..26e83ec
--- /dev/null
+++ b/debian/patches/30_net_multicast.patch
@@ -0,0 +1,33 @@
+2007-10-09 Thomas Schwinge <tschwinge@gnu.org>
+
+ * linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment.
+
+2007-10-08 Stefan Siegl <stesie@brokenpipe.de>
+
+ * linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag
+ on device and propagate.
+
+Index: linux/dev/glue/net.c
+===================================================================
+RCS file: /cvsroot/hurd/gnumach/linux/dev/glue/Attic/net.c,v
+retrieving revision 1.1.4.7
+retrieving revision 1.1.4.9
+diff -u -p -r1.1.4.7 -r1.1.4.9
+--- linux/dev/glue/net.c 27 Mar 2007 22:47:11 -0000 1.1.4.7
++++ linux/dev/glue/net.c 9 Oct 2007 07:44:17 -0000 1.1.4.9
+@@ -398,8 +398,14 @@ device_open (ipc_port_t reply_port, mach
+ }
+ else
+ {
+- dev->flags |= LINUX_IFF_UP | LINUX_IFF_RUNNING;
++ /* 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]);
++
++ if (dev->set_multicast_list)
++ dev->set_multicast_list (dev);
+ }
+ if (IP_VALID (reply_port))
+ ds_device_open_reply (reply_port, reply_port_type,
diff --git a/debian/patches/series b/debian/patches/series
index 6884f29..ae20b44 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,5 +9,6 @@
20_mmx_support.patch -p0
21_aligned_zalloc.patch -p0
24_pci_irq_fix.patch -p1
+30_net_multicast.patch -p0
40_iopl_mmap.patch -p0
90_autoconf_autogen.patch