kernel_optimize_test/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
arcnet
arm
atl1c atl1c: Do not use legacy PCI power management 2010-12-22 15:26:13 -08:00
atl1e
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
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
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
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
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
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
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
wan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-14 17:33:40 -08:00
wimax
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
3c523.c
3c523.h
3c527.c
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
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
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
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
bfin_mac.h
bmac.c
bmac.h
bnx2_fw.h
bnx2.c
bnx2.h
bsd_comp.c
cassini.c
cassini.h
cnic_defs.h
cnic_if.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
cpmac.c
cs89x0.c
cs89x0.h
davinci_cpdma.c
davinci_cpdma.h
davinci_emac.c
davinci_mdio.c
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c
e2100.c
eepro.c
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
eql.c
es3210.c
eth16i.c
ethoc.c
ewrk3.c
ewrk3.h
fealnx.c
fec_mpc52xx_phy.c
fec_mpc52xx.c
fec_mpc52xx.h
fec.c
fec.h
forcedeth.c
fsl_pq_mdio.c
fsl_pq_mdio.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
gianfar.c gianfar: fix signedness issue 2010-11-17 12:39:54 -08:00
gianfar.h
greth.c
greth.h
hamachi.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
hp100.c
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c
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
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_mll.c
ks8851.c
ks8851.h
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_main.c
ll_temac_mdio.c
ll_temac.h
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c
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
meth.h
mii.c
mipsnet.c
mv643xx_eth.c
mvme147.c
myri_sbus.c
myri_sbus.h
natsemi.c
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c
ne.c
netconsole.c
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c
niu.h
ns83820.c
pasemi_mac_ethtool.c
pasemi_mac.c
pasemi_mac.h
pci-skeleton.c
pcnet32.c
plip.c
ppp_async.c
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
pptp.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c
qla3xxx.c
qla3xxx.h
r6040.c
r8169.c r8169: Fix runtime power management 2010-12-10 11:09:18 -08:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c
s2io.h
s6gmac.c
sb1000.c drivers/net/sb1000.c: delete double assignment 2010-10-27 12:23:20 -07:00
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c
sh_eth.h
sis190.c
sis900.c
sis900.h
skge.c skge: Remove tx queue stopping in skge_devinit() 2010-11-08 12:17:06 -08:00
skge.h
sky2.c
sky2.h
slhc.c
slip.c
slip.h
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smc-mca.c
smc-ultra32.c
smc-ultra.c
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_ethtool.c
spider_net.c
spider_net.h
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
sunbmac.c
sunbmac.h
sundance.c sundance: Fix oopses with corrupted skb_shared_info 2010-12-25 19:37:49 -08:00
sungem_phy.c
sungem_phy.h
sungem.c
sungem.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
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
tlan.c
tlan.h
tsi108_eth.c
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_ethtool.c
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
veth.c net/veth: Fix packet checksumming 2010-12-16 14:41:35 -08:00
via-rhine.c
via-velocity.c
via-velocity.h
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
xtsonic.c
yellowfin.c epic100: hamachi: yellowfin: Fix skb allocation size 2010-12-25 19:37:49 -08:00
znet.c
zorro8390.c