[patch] ATL1E multicast fix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
High
|
Unassigned |
Bug Description
After installing my new ASUS motherboard Avahi stopped working. It
turned out that the ATL1E driver failed receiving multicasts.
I applied the following patch, and it started working immediately. As
ASUS is one of the bigger motherboard vendors I think this might be
important to get into a new kernel version.
Patch from:
http://
diff --git a/drivers/
index 949e753..c0d5f7c 100644
--- a/drivers/
+++ b/drivers/
@@ -163,9 +163,6 @@ int atl1e_read_
* 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_
{
@@ -174,7 +171,6 @@ u32 atl1e_hash_
int i;
crc32 = ether_crc_le(6, mc_addr);
- crc32 = ~crc32;
for (i = 0; i < 32; i++)
value |= (((crc32 >> i) & 1) << (31 - i));
--
1.5.6.5
--
Changed in linux: | |
status: | New → Invalid |
SRU Justification
Impact: atl1e ethernet adapters cannot receive multicast packets
Patch Description: Correctly invert the multicast address CRC field.
Patch: http:// kernel. ubuntu. com/git? p=ubuntu/ ubuntu- intrepid. git;a=commit; h=790be40d61f4d 831dd1893b417d0 18ba304c5fca
Test Case: see bug description