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

Bastian Blank waldi at alioth.debian.org
Wed Dec 24 10:12:42 UTC 2008


Author: waldi
Date: Wed Dec 24 10:12:39 2008
New Revision: 12518

Log:
Fix multicast in atl1e driver.

* debian/changelog: Update.
* debian/patches/bugfix/all/drivers-net-atl1e-multicast-crc.patch: Add.
* debian/patches/series/13: Add new patch.


Added:
   dists/sid/linux-2.6/debian/patches/bugfix/all/drivers-net-atl1e-multicast-crc.patch
Modified:
   dists/sid/linux-2.6/debian/changelog
   dists/sid/linux-2.6/debian/patches/series/13

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Wed Dec 24 10:12:39 2008
@@ -1,8 +1,12 @@
 linux-2.6 (2.6.26-13) UNRELEASED; urgency=low
 
+  [ dann frazier ]
   * [hppa] disable UP-optimized flush_tlb_mm, fixing thread-related
     hangs. (closes: #478717)
 
+  [ Bastian Blank ]
+  * Fix multicast in atl1e driver. (closes: 509097)
+
  -- dann frazier <dannf at debian.org>  Tue, 23 Dec 2008 13:25:04 -0700
 
 linux-2.6 (2.6.26-12) unstable; urgency=high

Added: dists/sid/linux-2.6/debian/patches/bugfix/all/drivers-net-atl1e-multicast-crc.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/drivers-net-atl1e-multicast-crc.patch	Wed Dec 24 10:12:39 2008
@@ -0,0 +1,36 @@
+commit 7ee0fddfe05f105d3346aa8774695e7130697836
+Author: J. K. Cliburn <jcliburn at gmail.com>
+Date:   Tue Nov 11 16:21:48 2008 -0600
+
+    atl1e: fix broken multicast by removing unnecessary crc inversion
+    
+    Inverting the crc after calling ether_crc_le() is unnecessary and breaks
+    multicast. Remove it.
+    
+    Tested-by: David Madore <david.madore at ens.fr>
+    Signed-off-by: Jay Cliburn <jcliburn at gmail.com>
+    Cc: stable at kernel.org
+    Signed-off-by: Jeff Garzik <jgarzik at redhat.com>
+
+diff --git a/drivers/net/atl1e/atl1e_hw.c b/drivers/net/atl1e/atl1e_hw.c
+index 8cbc1b5..4a77006 100644
+--- a/drivers/net/atl1e/atl1e_hw.c
++++ b/drivers/net/atl1e/atl1e_hw.c
+@@ -163,9 +163,6 @@ int atl1e_read_mac_addr(struct atl1e_hw *hw)
+  * atl1e_hash_mc_addr
+  *  purpose
+  *      set hash value for a multicast address
+- *      hash calcu processing :
+- *          1. calcu 32bit CRC for multicast address
+- *          2. reverse crc with MSB to LSB
+  */
+ u32 atl1e_hash_mc_addr(struct atl1e_hw *hw, u8 *mc_addr)
+ {
+@@ -174,7 +171,6 @@ u32 atl1e_hash_mc_addr(struct atl1e_hw *hw, u8 *mc_addr)
+ 	int i;
+ 
+ 	crc32 = ether_crc_le(6, mc_addr);
+-	crc32 = ~crc32;
+ 	for (i = 0; i < 32; i++)
+ 		value |= (((crc32 >> i) & 1) << (31 - i));
+ 

Modified: dists/sid/linux-2.6/debian/patches/series/13
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/13	(original)
+++ dists/sid/linux-2.6/debian/patches/series/13	Wed Dec 24 10:12:39 2008
@@ -1 +1,2 @@
 + bugfix/hppa/parisc-disable-up-optimized-flush_tlb_mm.patch
++ bugfix/all/drivers-net-atl1e-multicast-crc.patch



More information about the Kernel-svn-changes mailing list