alistair23-linux/drivers/net
J. K. Cliburn 2f32c86721 atl1: fix oops when changing tx/rx ring params
Commit 3f5a2a713a zeroes out the statistics
message block (SMB) and coalescing message block (CMB) when adapter ring
resources are freed.  This is desirable behavior, but, as a side effect,
the commit leads to an oops when atl1_set_ringparam() attempts to alter
the number of rx or tx elements in the ring buffer (by using ethtool
-G, for example).  We don't want SMB or CMB to change during this
operation.

Modify atl1_set_ringparam() to preserve SMB and CMB when changing ring
parameters.

Cc: stable@kernel.org
Signed-off-by: Jay Cliburn <jcliburn@gmail.com>
Reported-by: Tõnu Raitviir <jussuf@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-01-03 11:04:49 -08:00
..
appletalk Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
arcnet
arm
atl1c atl1c: Do not use legacy PCI power management 2010-12-22 15:26:13 -08:00
atl1e vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
atlx atl1: fix oops when changing tx/rx ring params 2011-01-03 11:04:49 -08:00
benet be2net: use mutex instead of spin lock for mbox_lock 2010-12-16 14:12:26 -08:00
bna vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
bnx2x bnx2x: Advance a version number to 1.60.01-0 2010-12-12 15:02:59 -08:00
bonding bonding/vlan: Fix mangled NAs on slaves without VLAN tag insertion 2010-12-16 12:43:22 -08:00
caif CAIF: Fix U5500 compile error for shared memory driver 2010-12-08 08:35:29 -08:00
can netdev: can: Change mail address of Hans J. Koch 2010-10-30 16:49:38 -07:00
chelsio vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
cris
cxgb3 cxgb3: remove call to stop TX queues at load time. 2010-11-01 14:07:30 -07:00
cxgb4 cxgb4: fix MAC address hash filter 2010-12-08 09:36:22 -08:00
cxgb4vf cxgb4vf: Ingress Queue Entry Size needs to be 64 bytes 2010-12-10 15:49:33 -08:00
e1000 e1000: fix screaming IRQ 2010-11-21 09:54:21 -08:00
e1000e e1000e: Add check for reset flags before displaying reset message 2010-10-28 10:18:59 -07:00
ehea ehea: Avoid changing vlan flags 2010-12-28 13:51:22 -08:00
enic enic: Bug Fix: Pass napi reference to the isr that services receive queue 2010-12-10 15:01:07 -08:00
fs_enet
hamradio Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
ibm_newemac ibm_newemac: Remove netif_stop_queue() in emac_probe(). 2010-11-01 08:49:51 -07:00
igb igb: Fix unused variable warning. 2010-10-27 19:43:55 -07:00
igbvf igbvf: fix panic on load 2010-10-28 10:19:01 -07:00
irda SuperH IrDA: correct Baud rate error correction 2010-11-21 10:09:53 -08:00
ixgb ixgb: call pci_disable_device in ixgb_remove 2010-10-28 10:19:00 -07:00
ixgbe ixgbe: fix possible NULL pointer deference in shutdown path 2010-12-06 13:16:29 -08:00
ixgbevf vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
ixp2000
mlx4 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2010-12-02 12:10:56 -08:00
myri10ge myri10ge: DCA update (resubmit) 2010-09-29 19:45:37 -07:00
netxen netxen: remove unused firmware exports 2010-11-03 18:50:05 -07:00
octeon
pch_gbe pch_gbe driver: The wrong of initializer entry 2010-11-29 08:51:34 -08:00
pcmcia axnet_cs: move id (0x1bf, 0x2328) to axnet_cs 2010-12-16 12:39:06 -08:00
phy phy: add the IC+ IP1001 driver 2010-12-10 15:48:43 -08:00
qlcnic qlcnic: fix panic on load 2010-10-31 09:32:55 -07:00
qlge qlge: Fix deadlock when cancelling worker. 2010-12-12 15:02:57 -08:00
sfc sfc: Fix NAPI list corruption during ring reallocation 2010-12-07 20:04:22 +00:00
skfp skfp: testing the wrong variable in skfp_driver_init() 2010-12-28 13:54:57 -08:00
stmmac stmmac: priv->lock can be used uninitialized 2010-12-02 13:19:48 -08:00
tile drivers/net/tile/: on-chip network drivers for the tile architecture 2010-11-24 13:11:18 -05:00
tokenring tms380tr: Use mdelay() in tms380tr_wait(). 2010-10-25 13:04:48 -07:00
tulip tulip: fix hang in dmfe driver on sending of big packet 2010-12-02 13:24:07 -08:00
usb USB: mcs7830: return negative if auto negotiate fails 2010-12-23 10:21:12 -08:00
vmxnet3 vmxnet: trivial annotation of protocol constant 2010-10-30 16:19:45 -07:00
vxge vxge: make functions local and remove dead code 2010-10-24 15:07:12 -07:00
wan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-14 17:33:40 -08:00
wimax Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
wireless Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-26 12:06:56 -08:00
3c59x.c 3c59x: fix build failure on !CONFIG_PCI 2010-11-18 10:47:42 -08:00
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c
3c515.c drivers/net: Use static const char * const where possible 2010-09-14 20:22:03 -07:00
3c523.c 3c52x: remove IRQF_SAMPLE_RANDOM from legacy MCA drivers. 2010-10-19 02:32:09 -07:00
3c523.h
3c527.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-10-23 11:47:02 -07:00
3c527.h
7990.c
7990.h
8139cp.c 8139cp: fix checksum broken 2010-11-17 12:21:14 -08:00
8139too.c
8390.c
8390.h
8390p.c
82596.c
a2065.c
a2065.h
ac3200.c
acenic.c
acenic.h
amd8111e.c vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c
atarilance.c net: atarilance - flags should be unsigned long 2010-10-28 11:47:53 -07:00
atp.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
atp.h
au1000_eth.c au1000_eth: fix invalid address accessing the MAC enable register 2010-11-28 11:31:22 -08:00
au1000_eth.h
ax88796.c drivers/net/ax88796.c: Return error code in failure 2010-10-21 04:25:50 -07:00
b44.c b44: fix workarround for wap54g10 2010-12-01 11:11:31 -08:00
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bfin_mac.c netdev: bfin_mac: push settings to platform resources 2010-10-25 04:54:25 -04:00
bfin_mac.h netdev: bfin_mac: push settings to platform resources 2010-10-25 04:54:25 -04:00
bmac.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
bmac.h
bnx2.c bnx2/bnx2x: Unsupported Ethtool operations should return -EINVAL. 2010-10-21 19:59:32 -07:00
bnx2.h bnx2: Increase max rx ring size from 1K to 2K 2010-10-21 03:09:47 -07:00
bnx2_fw.h
bsd_comp.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
cassini.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
cassini.h
cnic.c Broadcom CNIC core network driver: fix mem leak on allocation failures in cnic_alloc_uio_rings() 2010-12-31 11:18:48 -08:00
cnic.h cnic: Add support for 57712 device 2010-10-14 10:45:56 -07:00
cnic_defs.h bnx2x, cnic, bnx2i: use new FW/HSI 2010-10-06 14:10:35 -07:00
cnic_if.h cnic: Add support for 57712 device 2010-10-14 10:45:56 -07:00
cpmac.c
cs89x0.c
cs89x0.h
davinci_cpdma.c net: davinci_emac: separate out cpdma code 2010-09-24 07:40:31 -07:00
davinci_cpdma.h net: davinci_emac: separate out cpdma code 2010-09-24 07:40:31 -07:00
davinci_emac.c net: davinci_emac: cleanup unused cpdma code 2010-09-24 07:40:31 -07:00
davinci_mdio.c net: davinci_emac: separate out davinci mdio 2010-09-24 07:40:29 -07:00
de600.c
de600.h
de620.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
de620.h
declance.c
defxx.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dnet.c dnet: mark methods static and annotate for correct endianness 2010-10-16 11:13:20 -07:00
dnet.h
dummy.c dummy: percpu stats and lockless xmit 2010-09-29 13:23:30 -07:00
e100.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
e2100.c
eepro.c
eexpress.c
eexpress.h
enc28j60.c
enc28j60_hw.h
epic100.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
eql.c drivers/net/eql.c: prevent reading uninitialized stack memory 2010-09-16 21:54:59 -07:00
es3210.c
eth16i.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
ethoc.c
ewrk3.c
ewrk3.h
fealnx.c
fec.c net: allow FEC driver to use fixed PHY support 2010-10-13 09:56:31 -07:00
fec.h
fec_mpc52xx.c
fec_mpc52xx.h
fec_mpc52xx_phy.c
forcedeth.c vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
fsl_pq_mdio.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
fsl_pq_mdio.h
gianfar.c gianfar: fix signedness issue 2010-11-17 12:39:54 -08:00
gianfar.h
gianfar_ethtool.c gianfar: Do not call device_set_wakeup_enable() under a spinlock 2010-11-12 14:05:43 -08:00
gianfar_sysfs.c
greth.c
greth.h
hamachi.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
hp-plus.c
hp.c
hp100.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
hp100.h
hplance.c
hplance.h
hydra.c
ibmlana.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
ibmlana.h
ibmveth.c ibmveth: Free irq on error path 2010-10-21 01:26:46 -07:00
ibmveth.h
ifb.c ifb: goto resched directly if error happens and dp->tq isn't empty 2010-12-08 09:45:34 -08:00
ioc3-eth.c
ipg.c ipg.c: remove id [SUNDANCE, 0x1021] 2010-11-18 10:45:24 -08:00
ipg.h
iseries_veth.c
jazzsonic.c
jme.c jme: fix panic on load 2010-10-31 09:32:55 -07:00
jme.h jme: Advance version number 2010-10-21 03:52:11 -07:00
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-11-29 14:36:33 -08:00
korina.c
ks8842.c
ks8851.c
ks8851.h
ks8851_mll.c
ksz884x.c
lance.c
lasi_82596.c
lib8390.c 8390: Don't oops on starting dev queue 2010-10-28 10:27:01 -07:00
lib82596.c
LICENSE.SRC
ll_temac.h
ll_temac_main.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-10-06 19:39:31 -07:00
ll_temac_mdio.c
lne390.c
loopback.c net: add a core netdev->rx_dropped counter 2010-10-05 14:47:55 -07:00
lp486e.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
mac89x0.c
mac8390.c
macb.c macb: Don't re-enable interrupts while in polling mode 2010-10-25 12:14:11 -07:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c netns: keep vlan slaves on master netns move 2010-09-17 16:46:04 -07:00
macvtap.c
Makefile drivers/net/tile/: on-chip network drivers for the tile architecture 2010-11-24 13:11:18 -05:00
mdio.c
meth.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
meth.h
mii.c
mipsnet.c
mv643xx_eth.c mv643xx_eth: Use netif_set_real_num_{rx, tx}_queues() 2010-09-27 22:09:55 -07:00
mvme147.c
myri_sbus.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
myri_sbus.h
natsemi.c
ne-h8300.c
ne.c
ne2.c
ne2k-pci.c
ne3210.c
netconsole.c bonding: Fix netconsole to not deadlock on rmmod 2010-10-18 08:32:08 -07:00
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c niu: introduce temp variables to avoid sparse warnings when swapping in-situ 2010-10-17 13:42:50 -07:00
niu.h
ns83820.c ns83820: spin_lock_irq() => spin_lock() 2010-10-18 01:53:35 -07:00
pasemi_mac.c
pasemi_mac.h
pasemi_mac_ethtool.c
pci-skeleton.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
pcnet32.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
plip.c ipv4: ip_ptr cleanups 2010-09-15 22:06:05 -07:00
ppp_async.c net: Ppp_async: semaphore cleanup 2010-10-12 17:36:09 +02:00
ppp_deflate.c
ppp_generic.c ppp: allow disabling multilink protocol ID compression 2010-12-28 13:53:39 -08:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c pppoe.c: Fix kernel panic caused by __pppoe_xmit 2010-12-12 15:06:16 -08:00
pppox.c net: constify some ppp/pptp structs 2010-09-21 18:04:47 -07:00
pptp.c net: constify some ppp/pptp structs 2010-09-21 18:04:47 -07:00
ps3_gelic_net.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
ps3_gelic_net.h
ps3_gelic_wireless.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
ps3_gelic_wireless.h
pxa168_eth.c net: pxa168_etc.c recognize additional contributors 2010-09-30 17:31:16 -07:00
qla3xxx.c
qla3xxx.h
r6040.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-10-21 08:43:05 -07:00
r8169.c r8169: Fix runtime power management 2010-12-10 11:09:18 -08:00
rionet.c rionet: use free_netdev(netdev) instead of kfree() 2010-09-26 18:54:33 -07:00
rrunner.c
rrunner.h
s2io-regs.h
s2io.c vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
s2io.h
s6gmac.c
sb1000.c drivers/net/sb1000.c: delete double assignment 2010-10-27 12:23:20 -07:00
sb1250-mac.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
sc92031.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
seeq8005.c
seeq8005.h
sgiseeq.c drivers/net: sgiseeq: fix return on error 2010-10-26 10:02:13 -07:00
sgiseeq.h
sh_eth.c
sh_eth.h
sis190.c
sis900.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
sis900.h
skge.c skge: Remove tx queue stopping in skge_devinit() 2010-11-08 12:17:06 -08:00
skge.h
sky2.c vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
sky2.h
slhc.c slhc: Don't export symbols twice 2010-10-24 16:25:39 -07:00
slip.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
slip.h
smc-mca.c
smc-ultra.c
smc-ultra32.c
smc91x.c smc91x: Add missing #inclusion of <linux/irq.h> 2010-10-07 14:08:54 +01:00
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smsc911x.c MN10300: ASB2364: Add support for SMSC911X and SMC911X 2010-10-27 17:28:58 +01:00
smsc911x.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-11-05 15:25:48 -07:00
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
Space.c
spider_net.c
spider_net.h
spider_net_ethtool.c
starfire.c starfire: Fix dma_addr_t size test for MIPS 2010-12-31 12:33:17 -08:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
sunbmac.c
sunbmac.h
sundance.c sundance: Fix oopses with corrupted skb_shared_info 2010-12-25 19:37:49 -08:00
sungem.c
sungem.h
sungem_phy.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
sungem_phy.h
sunhme.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
sunhme.h
sunlance.c
sunqe.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
tehuti.c tehuti: Firmware filename is tehuti/bdx.bin 2010-12-17 10:17:12 -08:00
tehuti.h
tg3.c tg3: fix return value check in tg3_read_vpd() 2010-12-31 12:31:01 -08:00
tg3.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-10-21 08:43:05 -07:00
tlan.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
tlan.h drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
tsi108_eth.c drivers/net: return operator cleanup 2010-09-26 18:34:29 -07:00
tsi108_eth.h
tun.c
typhoon.c typhoon: memory corruption in typhoon_get_drvinfo() 2010-12-20 10:43:02 -08:00
typhoon.h
ucc_geth.c ucc_geth: Fix deadlock 2010-11-12 12:21:18 -08:00
ucc_geth.h ucc_geth: fix ucc halt problem in half duplex mode 2010-11-28 18:36:57 -08:00
ucc_geth_ethtool.c
veth.c net/veth: Fix packet checksumming 2010-12-16 14:41:35 -08:00
via-rhine.c
via-velocity.c vlan: Don't check for vlan group before vlan_tx_tag_present. 2010-10-21 01:26:52 -07:00
via-velocity.h via-velocity: forced 1000 Mbps mode support. 2010-10-16 11:13:23 -07:00
virtio_net.c virtio-net: init link state correctly 2010-11-12 12:21:18 -08:00
wd.c
xen-netfront.c xen: Provide a variant of __RING_SIZE() that is an integer constant expression 2010-12-15 12:34:28 -08:00
xilinx_emaclite.c Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze 2010-10-25 16:53:11 -07:00
xtsonic.c
yellowfin.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
znet.c
zorro8390.c