linux/drivers/net
Robert Love a7551b75fe ixgbe: Don't allow user buffer count to exceed 256
If the user buffer count was 256 the shift would place a 1
in the offset region leading to errors. It also overwrites
the uers buffer list. This patch makes sure that at most
256 user buffers are allowed for DDP and the buffer count
is masked properly such that it doesn't overwrite the offset
when shifting the bits.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Frank Zhang <frank_1.zhang@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-26 11:56:03 -07:00
..
appletalk net: convert multiple drivers to use netdev_for_each_mc_addr, part3 2010-02-22 15:45:51 -08:00
arcnet
arm KS8695: update ksp->next_rx_desc_read at the end of rx loop 2010-03-19 22:43:29 -07: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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
benet be2net: fix mccq create for big endian architectures 2010-03-15 15:46:59 -07:00
bonding driver-core: Add attribute argument to class_attribute show/store 2010-03-07 17:04:48 -08:00
can can: bfin_can: switch to common Blackfin can header 2010-03-22 20:05:45 -07:00
chelsio Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
cris net: convert multiple drivers to use netdev_for_each_mc_addr 2010-02-17 13:27:12 -08:00
cxgb3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-03-13 14:50:18 -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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-03-13 14:50: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 igb: only use vlan_gro_receive if vlans are registered 2010-03-23 23:19:57 -07:00
igbvf net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
irda Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-03-15 16:23:54 -07:00
ixgb net: convert multiple drivers to use netdev_for_each_mc_addr, part4 2010-02-22 15:45:52 -08:00
ixgbe ixgbe: Don't allow user buffer count to exceed 256 2010-03-26 11:56:03 -07:00
ixgbevf ixgbevf: Fix signed/unsigned int error 2010-03-26 11:56:00 -07:00
ixp2000
mlx4 sysfs: fix sysfs lockdep warning in mlx4 code 2010-03-19 07:12:15 -07:00
myri10ge myri: remove dead code 2010-03-15 16:00:50 -07:00
netxen netxen: update version to 4.0.73 2010-03-26 11:49:22 -07: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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
sfc Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
skfp Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
stmmac net: convert multiple drivers to use netdev_for_each_mc_addr, part2 2010-02-18 14:47:49 -08:00
tokenring Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
tulip drivers/net/tulip/eeprom.c: fix bogus "(null)" in tulip init messages 2010-03-13 12:26:15 -08:00
usb smsc95xx: Fix tx checksum offload for small packets 2010-03-18 22:18:41 -07: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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
wimax Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
wireless Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-03-18 21:18:19 -07: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: Use proper handler during netpoll. 2010-03-23 23:19:56 -07:00
bnx2.h
bnx2x_dump.h
bnx2x_fw_defs.h bnx2x: Use firmware 5.2.13 2010-02-17 13:35:44 -08:00
bnx2x_fw_file_hdr.h
bnx2x_hsi.h bnx2x: Use firmware 5.2.13 2010-02-17 13:35:44 -08:00
bnx2x_init_ops.h bnx2x: Use firmware 5.2.13 2010-02-17 13:35:44 -08:00
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: change smp_mb() comment to conform the true 2010-03-15 15:47:01 -07: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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
cs89x0.h
davinci_emac.c Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2010-03-15 16:23:54 -07:00
de600.c
de600.h
de620.c
de620.h
declance.c net: convert multiple drivers to use netdev_for_each_mc_addr 2010-02-17 13:27:12 -08:00
defxx.c net: convert multiple drivers to use netdev_for_each_mc_addr 2010-02-17 13:27:12 -08:00
defxx.h
depca.c depca: remove forgotten needless inicialization 2010-02-18 14:47:47 -08:00
depca.h
dl2k.c net: convert multiple drivers to use netdev_for_each_mc_addr 2010-02-17 13:27:12 -08:00
dl2k.h
dm9000.c net: convert multiple drivers to use netdev_for_each_mc_addr 2010-02-17 13:27:12 -08:00
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c e100: Fix ring parameter change handling regression. 2010-03-15 15:23:30 -07: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 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-03-13 14:50:18 -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 net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver 2010-02-17 15:59:40 -08:00
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 Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -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 Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
jazzsonic.c
jme.c jme: Protect vlgrp structure by pause RX actions. 2010-03-18 21:14:00 -07:00
jme.h jme: Advance driver version number 2010-03-18 21:14:00 -07:00
Kconfig net: add ColdFire support to the smc91x driver 2010-03-10 07:37:06 -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 KS8851: Avoid NULL pointer in set rx mode 2010-03-18 21:08:48 -07:00
ks8851.h
ksz884x.c ksz884x: fix return value of netdev_set_eeprom 2010-03-23 13:06:15 -07: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 percpu: add __percpu sparse annotations to net drivers 2010-02-16 23:05:38 -08:00
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 net: Add Aeroflex Gaisler 10/100/1G Ethernet MAC driver 2010-02-17 15:59:40 -08:00
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 ne: Do not use slashes in irq name string 2010-03-16 14:15:42 -07:00
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 l2tp: Fix UDP socket reference count bugs in the pppol2tp driver 2010-03-16 14:15:44 -07:00
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 Revert "r8169: enable 64-bit DMA by default for PCI Express devices (v2)" 2010-03-26 10:23:30 -07:00
rionet.c
rrunner.c
rrunner.h
s2io-regs.h
s2io.c drivers/net: drop redundant memset 2010-03-15 15:47:03 -07: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 sky2: Avoid rtnl_unlock without rtnl_lock 2010-03-13 12:24:18 -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: add ColdFire support to the smc91x driver 2010-03-10 07:37:06 -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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01: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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01: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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01: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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
tehuti.h
tg3.c drivers/net/tg3.c: change the field used with the TG3_FLAG_10_100_ONLY constant 2010-03-13 12:22:16 -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 Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
typhoon.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2010-03-13 14:50:18 -08:00
typhoon.h
ucc_geth_ethtool.c
ucc_geth.c Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01: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 via-velocity: Fix FLOW_CNTL_TX_RX handling in set_mii_flow_control() 2010-03-25 11:56:32 -07: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