patch-2.4.26 linux-2.4.26/drivers/net/sis900.c

Next file: linux-2.4.26/drivers/net/sk98lin/h/lm80.h
Previous file: linux-2.4.26/drivers/net/r8169.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/drivers/net/sis900.c linux-2.4.26/drivers/net/sis900.c
@@ -2095,7 +2095,7 @@
 		     i++, mclist = mclist->next) {
 			unsigned int bit_nr =
 				sis900_mcast_bitnr(mclist->dmi_addr, revision);
-			mc_filter[bit_nr >> 4] |= (1 << bit_nr);
+			mc_filter[bit_nr >> 4] |= (1 << (bit_nr & 0xf));
 		}
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)