android_kernel_xiaomi_sm8350/drivers/net
Jon Mason 1853e2e15d s2io: rx_ring_sz bounds checking
modparm rx_ring_sz can be set to be greater than the maximum allowable
number of blocks.  This results in an array overrun when probing the
driver, and causes memory corruption.

Also, the MAX_RX_DESC_1 multiply the max number of rings by max number
of blocker per ring by 127, but the driver does the same calculation
with 127+1.  This results in the possibility of the value being set
being larger than the maximum allowable value.

Finally, clean-up the s2io_ethtool_gringparam code to be more
intuitive.

Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-12-11 11:46:36 -08:00
..
appletalk
arcnet
arm net: am79c961a: Omit private ndo_get_stats function 2010-12-06 13:24:46 -08:00
atl1c atl1c: Fix hardware type check for enabling OTP CLK 2010-11-21 10:06:48 -08:00
atl1e
atlx atl1 : fix panic on load 2010-11-03 18:50:05 -07:00
benet Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
bna
bnx2x bnx2x: Update version number and a date. 2010-12-09 20:50:02 -08:00
bonding bonding: add the debugfs facility to the bonding driver 2010-12-10 16:24:33 -08:00
caif CAIF: Fix U5500 compile error for shared memory driver 2010-12-08 08:35:29 -08:00
can can: slcan: Add missing linux/sched.h include. 2010-12-08 18:41:03 -08:00
chelsio
cris net: cris/eth_v10: Use net_device_stats from struct net_device_stats 2010-12-06 13:24:47 -08:00
cxgb3 cxgb3: Removing unused return variable 2010-11-28 11:50:15 -08:00
cxgb4 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
cxgb4vf Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
e1000 Intel Wired LAN drivers: Use static const 2010-12-10 22:12:32 -08:00
e1000e e1000e: increment the driver version 2010-12-10 22:13:57 -08:00
ehea Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
enic enic: Move enic port profile handling code to a new 802.1Qbh provisioning info type 2010-12-10 16:23:51 -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: Add new function to read part number from EEPROM in string format 2010-12-10 22:14:01 -08:00
igbvf netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
irda SuperH IrDA: correct Baud rate error correction 2010-11-21 10:09:53 -08:00
ixgb ixgb: Don't check for vlan group on transmit 2010-12-10 22:12:36 -08:00
ixgbe ixgbe: cleanup string function calls to use bound checking versions. 2010-12-10 22:12:58 -08:00
ixgbevf Intel Wired LAN drivers: Use static const 2010-12-10 22:12:32 -08:00
ixp2000
mlx4
myri10ge
netxen netxen: remove unnecessary [kv][mcz]alloc casts 2010-11-28 17:26:22 -08:00
octeon
pch_gbe Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
pcmcia drivers/net/pcmcia: Remove unnecessary casts of netdev_priv 2010-11-17 10:36:51 -08:00
phy Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
qlcnic qlcnic: Updated driver version to 5.0.13 2010-12-03 09:33:22 -08:00
qlge Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
sfc netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
skfp
stmmac stmmac: Remove redundant unlikely() 2010-12-10 14:57:34 -08:00
tokenring
tulip tulip: fix hang in dmfe driver on sending of big packet 2010-12-02 13:24:07 -08:00
usb Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
vmxnet3 vmxnet3: fix compilation when RSS is disabled 2010-11-28 18:25:33 -08:00
vxge vxge: update driver version 2010-12-10 16:08:24 -08:00
wan NET: wan/x25_asy, move lapb_unregister to x25_asy_close_tty 2010-11-28 11:43:47 -08:00
wimax
wireless Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-12-10 09:50:47 -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 drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
3c509.c
3c515.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
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 drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
a2065.c
a2065.h
ac3200.c
acenic.c
acenic.h
amd8111e.c
amd8111e.h
apne.c
ariadne.c
ariadne.h
at1700.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
atarilance.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08: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 drivers/net: Remove unnecessary casts of netdev_priv 2010-11-17 10:37:52 -08: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
bfin_mac.h
bmac.c
bmac.h
bnx2_fw.h
bnx2.c bnx2: Remove config access to non-standard registers 2010-11-28 10:47:20 -08:00
bnx2.h bnx2: Fix reset bug on 5709 2010-11-28 10:47:19 -08:00
bsd_comp.c
cassini.c
cassini.h
cnic_defs.h
cnic_if.h
cnic.c drivers/net/cnic.c: Remove unnecessary semicolons 2010-11-15 11:07:15 -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 drivers/net: Remove unnecessary casts of netdev_priv 2010-11-17 10:37:52 -08:00
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c
e2100.c
eepro.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
eexpress.c
eexpress.h
enc28j60_hw.h
enc28j60.c
epic100.c
eql.c
es3210.c
eth16i.c
ethoc.c ethoc: remove division from loops 2010-11-28 11:16:38 -08:00
ewrk3.c
ewrk3.h
fealnx.c
fec_mpc52xx_phy.c
fec_mpc52xx.c mpc52xx: cleanup locking 2010-11-16 11:39:08 -08:00
fec_mpc52xx.h
fec.c
fec.h
forcedeth.c forcedeth: Use netdev_dbg for printk(KERN_DEBUG 2010-11-29 11:44:56 -08:00
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
hp100.c
hp100.h
hp-plus.c
hp.c
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
ibmveth.h
ifb.c ifb: use the lockless variants of skb_queue 2010-12-10 14:34: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 netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
jazzsonic.c
jme.c net: Fix too optimistic NETIF_F_HW_CSUM features 2010-12-06 12:59:04 -08:00
jme.h
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
korina.c
ks8842.c
ks8851_mll.c
ks8851.c ks8851: suspend resume support 2010-11-08 13:50:06 -08:00
ks8851.h
ksz884x.c
lance.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
lasi_82596.c
lib8390.c drivers/net: Remove unnecessary casts of netdev_priv 2010-11-17 10:37:52 -08:00
lib82596.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
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 macvlan: Introduce 'passthru' mode to takeover the underlying device 2010-11-22 08:24:29 -08:00
macvtap.c
Makefile
mdio.c
meth.c
meth.h
mii.c
mipsnet.c
mv643xx_eth.c netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
mvme147.c
myri_sbus.c
myri_sbus.h
natsemi.c
ne2.c
ne2k-pci.c
ne3210.c
ne-h8300.c drivers/net: Remove unnecessary casts of netdev_priv 2010-11-17 10:37:52 -08:00
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 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-12-08 13:47:38 -08:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppox.c
pptp.c drivers/net: use vzalloc() 2010-11-27 22:53:38 -08:00
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
qla3xxx.c drivers/net/qla3xxx.c: Remove unnecessary casts of netdev_priv 2010-11-17 10:36:51 -08:00
qla3xxx.h
r6040.c
r8169.c r8169: fix checksum broken 2010-11-17 12:21:14 -08:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c s2io: rx_ring_sz bounds checking 2010-12-11 11:46:36 -08:00
s2io.h s2io: rx_ring_sz bounds checking 2010-12-11 11:46:36 -08:00
s6gmac.c
sb1000.c
sb1250-mac.c
sc92031.c net: Fix too optimistic NETIF_F_HW_CSUM features 2010-12-06 12:59:04 -08:00
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c net: sh_eth: Move off of deprecated I/O routines. 2010-11-15 10:19:16 -08:00
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
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
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem_phy.c
sungem_phy.h
sungem.c
sungem.h
sunhme.c
sunhme.h
sunlance.c netdev: Use default implementation of ethtool_ops::get_link where possible 2010-12-10 15:55:24 -08:00
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c
tehuti.h
tg3.c tg3: Update version to 3.116 2010-12-06 11:03:49 -08:00
tg3.h tg3: Relax EEE thresholds 2010-12-06 11:03:48 -08:00
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c
typhoon.c
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
via-rhine.c via-rhine: hardware VLAN support 2010-12-08 10:23:36 -08:00
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
xilinx_emaclite.c net: emaclite: Omit private ndo_get_stats function 2010-12-06 13:24:47 -08:00
xtsonic.c
yellowfin.c
znet.c drivers/net: normalize TX_TIMEOUT 2010-11-09 09:17:56 -08:00
zorro8390.c