From 6142ffe13d0e949bfd53eb6973e7b78ed05d99e5 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 21 Jan 2008 02:26:26 +0000 Subject: * New patch from CVS to enable multicast for IPv6. - debian/patches/30_net_multicast.patch --- debian/changelog | 2 ++ debian/patches/30_net_multicast.patch | 33 +++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 36 insertions(+) create mode 100644 debian/patches/30_net_multicast.patch (limited to 'debian') 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 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 + + * linux/dev/glue/net.c (device_open) : Comment. + +2007-10-08 Stefan Siegl + + * 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 -- cgit v1.2.3