linux/drivers/net
Reinette Chatre 1d79e53c56 iwl3945: fix memory corruption
Recent patch "iwlwifi: move 3945 clip groups to 3945 data" exposed a memory
corruption problem. When initializing the clip groups the code was
mistakenly using the iwlagn rate count, not the 3945 rate count. This
resulted in more memory being written than was allocated.

"iwlwifi: move 3945 clip groups to 3945 data" moved the location where the
clip groups are stored and the impact is now severe in that the number of
configured TX queues is modified. Previously the
"temperature" field was overwritten, which did not seem to affect the
operation.

Fix this one instance where wrong rate count was used. I also noticed one
more location where the iwlagn rate count was used to index an iwl3945
array, fix this. I also modified one location that modified the iwlagn rate
count to obtain the iwl3945 rate count ... just use the iwl3945 rate count
directly.

This fixes http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2165 and
http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2168

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
2010-03-09 16:15:33 -08:00
..
appletalk net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
arcnet
arm fix a race in ks8695_poll 2010-03-07 15:25:49 -08:00
atl1c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
atl1e net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
atlx net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
benet be2net: remove unused code in be_load_fw 2010-03-08 10:45:28 -08:00
bonding bonding: fix device leak on error in bond_create() 2010-02-27 02:52:05 -08:00
can can: fix bfin_can build error after alloc_candev() change 2010-03-08 12:13:57 -08:00
chelsio drivers/net/chelsio: Use pr_<level>, netif_msg_<type> 2010-02-26 01:38:34 -08:00
cris
cxgb3 cxgb3: fix hot plug removal crash 2010-03-04 00:53:54 -08:00
e1000 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-02-25 23:22:42 -08:00
e1000e e1000e: fix packet corruption and tx hang during NFSv2 2010-03-05 14:00:18 -08:00
ehea net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
enic net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
fs_enet fs_enet: add FEC TX buffer alignment workaround for MPC5121 2010-02-27 02:34:36 -08:00
hamradio
ibm_newemac net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
igb net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
igbvf net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
irda irda-usb: add error handling and fix leak 2010-03-07 15:25:51 -08:00
ixgb net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
ixgbe ixgbe: move TC_PRIO_CONTROL check into ixgbe_select_queue() 2010-02-27 03:28:24 -08:00
ixgbevf
ixp2000
mlx4 mlx4: replace the dma_sync_single_range_for_cpu/device API 2010-02-19 13:19:51 -08:00
myri10ge myri10ge: optimize 4k-boundary check when stocking rx pages 2010-02-26 04:18:34 -08:00
netxen net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
octeon octeon: convert to use netdev_for_each_mc_addr 2010-02-26 02:08:33 -08:00
pcmcia Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-02-28 19:23:06 -08:00
phy tg3: Push phylib definitions to phylib 2010-02-17 17:27:40 -08:00
qlcnic qlcnic: remove extra space from board names 2010-03-08 10:45:30 -08:00
qlge net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
sfc Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-02-25 23:22:42 -08:00
skfp net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
stmmac net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
tokenring tokenring: convert to use netdev_for_each_mc_addr 2010-02-18 14:47:51 -08:00
tulip tulip: convert to use netdev_for_each_mc_addr 2010-02-18 14:47:50 -08:00
usb another pegasus usb net device 2010-03-07 15:25:51 -08:00
vmxnet3 net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
vxge net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
wan
wimax
wireless iwl3945: fix memory corruption 2010-03-09 16:15:33 -08:00
3c59x.c 3c5xx: use netdev_mc_* helpers 2010-02-18 14:47:48 -08:00
3c501.c 3c5xx: use netdev_mc_* helpers 2010-02-18 14:47:48 -08:00
3c501.h
3c503.c
3c503.h
3c505.c 3c5xx: use netdev_mc_* helpers 2010-02-18 14:47:48 -08:00
3c505.h
3c507.c
3c509.c
3c515.c 3c5xx: use netdev_mc_* helpers 2010-02-18 14:47:48 -08:00
3c523.c 3c5xx: use netdev_mc_* helpers 2010-02-18 14:47:48 -08:00
3c523.h
3c527.c 3c5xx: use netdev_mc_* helpers 2010-02-18 14:47:48 -08:00
3c527.h
7990.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
7990.h
8139cp.c drivers/net/8139cp.c: Use (pr|netdev|netif)_<level> macro helpers 2010-02-17 17:45:18 -08:00
8139too.c drivers/net/8139too.c: Use (pr|netdev|netif)_<level> macro helpers 2010-02-17 17:45:18 -08:00
8390.c
8390.h
8390p.c
82596.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
a2065.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
a2065.h
ac3200.c
acenic.c
acenic.h
amd8111e.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
amd8111e.h net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
apne.c
ariadne.c
ariadne.h
at1700.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
atarilance.c
atp.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
atp.h
au1000_eth.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-02-28 19:23:06 -08:00
au1000_eth.h NET: au1000-eth: Convert to platform_driver model 2010-02-27 12:53:02 +01:00
ax88796.c
b44.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
b44.h
bcm63xx_enet.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
bcm63xx_enet.h
bfin_mac.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
bfin_mac.h
bmac.c net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
bmac.h
bnx2_fw.h
bnx2.c bnx2: Remove now useless VPD code 2010-02-28 00:43:33 -08:00
bnx2.h
bnx2x_dump.h
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h
bnx2x_init_ops.h
bnx2x_init.h
bnx2x_link.c drivers/net/bnx2x: Use (pr|netdev|netif)_<level> macro helpers 2010-02-17 17:45:20 -08:00
bnx2x_link.h
bnx2x_main.c bnx2x: Tx barriers and locks 2010-02-28 18:37:12 -08:00
bnx2x_reg.h
bnx2x.h drivers/net/bnx2x: Use (pr|netdev|netif)_<level> macro helpers 2010-02-17 17:45:20 -08:00
bsd_comp.c
cassini.c cassini: fix off by one 2010-03-03 01:04:39 -08:00
cassini.h
cnic_defs.h cnic: Update version to 2.1.1. 2010-02-26 02:10:14 -08:00
cnic_if.h cnic: Update version to 2.1.1. 2010-02-26 02:10:14 -08:00
cnic.c cnic: Update version to 2.1.1. 2010-02-26 02:10:14 -08:00
cnic.h cnic: Update version to 2.1.1. 2010-02-26 02:10:14 -08:00
cpmac.c cpmac: bump version to 0.5.2 2010-03-07 15:25:53 -08:00
cs89x0.c
cs89x0.h
davinci_emac.c davinci_emac: off by one 2010-03-03 01:04:39 -08:00
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c depca: remove forgotten needless inicialization 2010-02-18 14:47:47 -08:00
depca.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
e2100.c
eepro.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
eexpress.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
eql.c
es3210.c
eth16i.c
ethoc.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
ewrk3.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
ewrk3.h
fealnx.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
fec_mpc52xx_phy.c
fec_mpc52xx.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
fec_mpc52xx.h
fec.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
fec.h
forcedeth.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
fsl_pq_mdio.c
fsl_pq_mdio.h
gianfar_ethtool.c
gianfar_sysfs.c
gianfar.c gianfar: Fix TX ring processing on SMP machines 2010-03-04 00:53:53 -08:00
gianfar.h
greth.c greth: fall through to common return statement on error 2010-02-26 04:18:43 -08:00
greth.h
hamachi.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
hp100.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
ibmlana.h
ibmveth.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
ibmveth.h
ifb.c
ioc3-eth.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
ipg.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
ipg.h
iseries_veth.c net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
jazzsonic.c
jme.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
jme.h
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-03-02 07:55:08 -08:00
korina.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
ks8842.c
ks8851_mll.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
ks8851.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
ks8851.h
ksz884x.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
lance.c
lasi_82596.c
lib8390.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
lib82596.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
LICENSE.SRC
ll_temac_main.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
ll_temac_mdio.c
ll_temac.h
lne390.c
loopback.c
lp486e.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
mac89x0.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
mac8390.c
macb.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
macb.h
mace.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-02-28 19:23:06 -08:00
mace.h
macmace.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-02-28 19:23:06 -08:00
macsonic.c mac68k: move macsonic and macmace platform devices 2010-02-27 18:31:11 +01:00
macvlan.c
macvtap.c macvtap: add GSO/csum offload support 2010-02-18 14:08:38 -08:00
Makefile
mdio.c
meth.c
meth.h
mii.c
mipsnet.c
mv643xx_eth.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
mvme147.c
myri_sbus.c
myri_sbus.h
natsemi.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c
ne.c
netconsole.c
netx-eth.c
ni52.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
ni52.h
ni65.c
ni65.h
ni5010.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
ni5010.h
niu.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
niu.h
ns83820.c
pasemi_mac_ethtool.c
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
pcnet32.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppol2tp.c
pppox.c
ps3_gelic_net.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
qla3xxx.c
qla3xxx.h
r6040.c net: convert multiple drivers to use netdev_for_each_mc_addr, part5 V2 2010-02-26 02:07:30 -08:00
r8169.c r8169: use correct barrier between cacheable and non-cacheable memory 2010-03-04 00:53:53 -08:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c s2io: Fixing debug message 2010-03-05 14:00:19 -08:00
s2io.h
s6gmac.c
sb1000.c
sb1250-mac.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sc92031.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c
sh_eth.h
sis190.c sis190: fix cable detect via link status poll 2010-03-02 03:44:41 -08:00
sis900.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sis900.h
skge.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
skge.h
sky2.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sky2.h
slhc.c
slip.c
slip.h
smc91x.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
smc91x.h net: smc91x: Support Qualcomm MSM development boards. 2010-03-05 13:56:40 -08:00
smc911x.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
smc911x.h
smc9194.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
smsc911x.c smsc911x: convert to use netdev_for_each_mc_addr 2010-02-18 14:47:48 -08:00
smsc911x.h
smsc9420.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
smsc9420.h
sni_82596.c
sonic.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sonic.h
Space.c
spider_net_ethtool.c
spider_net.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
spider_net.h
starfire.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
stnic.c
sun3_82586.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sun3_82586.h
sun3lance.c
sunbmac.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sunbmac.h
sundance.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sungem_phy.c
sungem_phy.h
sungem.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sungem.h
sunhme.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sunhme.h
sunlance.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sunqe.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sunqe.h
sunvnet.c net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
sunvnet.h
tc35815.c tc35815: Fix double locking on NAPI 2010-02-26 02:08:42 -08:00
tehuti.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
tehuti.h
tg3.c tg3: Remove now useless VPD code 2010-02-28 00:43:34 -08:00
tg3.h tg3: Push phylib definitions to phylib 2010-02-17 17:27:40 -08:00
tlan.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
tlan.h
tsi108_eth.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
tsi108_eth.h
tun.c tun: socket filter support 2010-02-17 16:35:17 -08:00
typhoon.c typhoon: fix incorrect use of smp_wmb() 2010-03-05 14:00:18 -08:00
typhoon.h
ucc_geth_ethtool.c
ucc_geth.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
ucc_geth.h
veth.c rtnetlink: support specifying device flags on device creation 2010-02-27 02:43:40 -08:00
via-rhine.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
via-velocity.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
via-velocity.h
virtio_net.c virtio_net: remove forgotten assignment 2010-03-02 03:57:33 -08:00
wd.c
xen-netfront.c
xilinx_emaclite.c
xtsonic.c
yellowfin.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
znet.c net: convert multiple drivers to use netdev_for_each_mc_addr, part6 2010-02-26 02:07:31 -08:00
zorro8390.c