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
- Lines: 9
- Date:
2004-04-14 06:05:30.000000000 -0700
- Orig file:
linux-2.4.25/drivers/net/sis900.c
- Orig date:
2003-11-28 10:26:20.000000000 -0800
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)