[kernel] r10803 - in dists/sid/linux-2.6/debian: . patches/bugfix patches/series

Dann Frazier dannf at alioth.debian.org
Tue Mar 11 16:29:33 UTC 2008


Author: dannf
Date: Tue Mar 11 16:29:32 2008
New Revision: 10803

Log:
* Fix missing multicast addresses (closes: #466719)

Added:
   dists/sid/linux-2.6/debian/patches/bugfix/net-mcast-zero-addr-list.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/5

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Tue Mar 11 16:29:32 2008
@@ -44,7 +44,10 @@
     - NETFILTER: nf_conntrack_tcp: conntrack reopening fix
     - SPARC/SPARC64: Fix usage of .section .sched.text in assembler code.
 
- -- Gordon Farquharson <gordonfarquharson at gmail.com>  Thu, 21 Feb 2008 21:00:48 -0700
+  [ dann frazier ]
+  * Fix missing multicast addresses (closes: #466719)
+
+ -- dann frazier <dannf at debian.org>  Mon, 10 Mar 2008 14:03:59 -0600
 
 linux-2.6 (2.6.24-4) unstable; urgency=low
 

Added: dists/sid/linux-2.6/debian/patches/bugfix/net-mcast-zero-addr-list.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/net-mcast-zero-addr-list.patch	Tue Mar 11 16:29:32 2008
@@ -0,0 +1,35 @@
+From: Jorge Boncompte [DTI2] <jorge at dti2.net>
+Date: Tue, 19 Feb 2008 22:17:04 +0000 (-0800)
+Subject: [NET]: Messed multicast lists after dev_mc_sync/unsync
+X-Git-Tag: v2.6.25-rc3~9^2~36
+X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fdavem%2Fnet-2.6.git;a=commitdiff_plain;h=12aa343add3eced38a44bdb612b35fdf634d918c
+
+[NET]: Messed multicast lists after dev_mc_sync/unsync
+
+Commit a0a400d79e3dd7843e7e81baa3ef2957bdc292d0 ("[NET]: dev_mcast:
+add multicast list synchronization helpers") from you introduced a new
+field "da_synced" to struct dev_addr_list that is not properly
+initialized to 0. So when any of the current users (8021q, macvlan,
+mac80211) calls dev_mc_sync/unsync they mess the address list for both
+devices.
+
+The attached patch fixed it for me and avoid future problems.
+
+Signed-off-by: Jorge Boncompte [DTI2] <jorge at dti2.net>
+Signed-off-by: Patrick McHardy <kaber at trash.net>
+Signed-off-by: David S. Miller <davem at davemloft.net>
+---
+
+diff --git a/net/core/dev.c b/net/core/dev.c
+index 6cfc123..9516105 100644
+--- a/net/core/dev.c
++++ b/net/core/dev.c
+@@ -2900,7 +2900,7 @@ int __dev_addr_add(struct dev_addr_list **list, int *count,
+ 		}
+ 	}
+ 
+-	da = kmalloc(sizeof(*da), GFP_ATOMIC);
++	da = kzalloc(sizeof(*da), GFP_ATOMIC);
+ 	if (da == NULL)
+ 		return -ENOMEM;
+ 	memcpy(da->da_addr, addr, alen);

Modified: dists/sid/linux-2.6/debian/patches/series/5
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/5	(original)
+++ dists/sid/linux-2.6/debian/patches/series/5	Tue Mar 11 16:29:32 2008
@@ -1,2 +1,3 @@
 + bugfix/all/stable/2.6.24.3.patch
 + bugfix/all/stable/2.6.24.3-fix1.patch
++ bugfix/net-mcast-zero-addr-list.patch



More information about the Kernel-svn-changes mailing list