linux/drivers/net
Jesse Brandeburg b811ce9104 ixgbe: fix possible null buffer error
It seems that at least one PPC machine would occasionally give a (valid) 0 as
the return value from dma_map, this caused the ixgbe code to not work
correctly.  A fix is pending in the PPC tree to not return 0 from dma map, but
we can also fix the driver to make sure we don't mess up in other arches as
well.

This patch is applicable to all current stable kernels.

Ref: https://bugzilla.redhat.com/show_bug.cgi?id=683611

Reported-by: Neil Horman <nhorman@redhat.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
CC: Alexander Duyck <alexander.h.duyck@intel.com>
CC: stable@kernel.org
Tested-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-21 02:14:13 -04:00
..
appletalk
arcnet
arm NET: am79c961: fix race in link status code 2011-09-05 08:58:29 +01:00
atl1c
atl1e
atlx
benet
bna
bnx2x bnx2x: Fix ethtool advertisement 2011-09-15 15:53:01 -04:00
bonding bonding:reset backup and inactive flag of slave 2011-08-17 20:12:06 -07:00
caif
can can: ti_hecc: include linux/io.h 2011-09-16 19:21:27 -04:00
chelsio
cris
cxgb3
cxgb4
cxgb4vf
e1000 e1000: Fix driver to be used on PA RISC C8000 workstations 2011-08-30 20:58:56 -04:00
e1000e e1000e: workaround invalid Tx/Rx tail descriptor register write 2011-08-13 02:15:38 -07:00
ehea
enic
fs_enet
hamradio
ibm_newemac
igb
igbvf
irda net/irda: sh_sir: tidyup compile warning 2011-08-11 05:52:57 -07:00
ixgb
ixgbe ixgbe: fix possible null buffer error 2011-09-21 02:14:13 -04:00
ixgbevf
ixp2000
mlx4
myri10ge
netxen
octeon
pch_gbe pch_gbe: support ML7831 IOH 2011-09-15 17:31:45 -04:00
pcmcia
phy net/phy: fix DP83865 phy interrupt handler 2011-08-26 12:48:24 -04:00
qlcnic
qlge
sfc sfc: Use 64-bit writes for TX push where possible 2011-09-15 17:31:31 -04:00
skfp
stmmac
tile
tokenring
tulip
usb ipheth: iPhone 4 Verizon CDMA USB Product ID add 2011-09-15 14:49:44 -04:00
vmxnet3 vmxnet3: Don't enable vlan filters in promiscuous mode. 2011-08-13 18:00:32 -07:00
vxge
wan
wimax
wireless Merge branch 'master' of ssh://infradead/~/public_git/wireless into for-davem 2011-09-20 09:19:14 -04:00
xen-netback
3c59x.c
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
8139too.c
8390.c
8390.h
8390p.c
82596.c
Kconfig pch_gbe: support ML7831 IOH 2011-09-15 17:31:45 -04:00
LICENSE.SRC
Makefile
Space.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
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c
b44.c
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bfin_mac.c
bfin_mac.h
bmac.c
bmac.h
bnx2.c
bnx2.h
bnx2_fw.h
bsd_comp.c
cassini.c cassini: init before use in cas_interruptN. 2011-08-26 12:49:03 -04:00
cassini.h
cnic.c
cnic.h
cnic_defs.h
cnic_if.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.c
enc28j60_hw.h
epic100.c
eql.c
es3210.c
eth16i.c
ethoc.c
ewrk3.c
ewrk3.h
fealnx.c
fec.c
fec.h
fec_mpc52xx.c
fec_mpc52xx.h
fec_mpc52xx_phy.c
forcedeth.c forcedeth: call vlan_mode only if hw supports vlans 2011-08-17 23:50:37 -07:00
fsl_pq_mdio.c
fsl_pq_mdio.h
ftgmac100.c
ftgmac100.h
ftmac100.c
ftmac100.h
gianfar.c gianfar: prevent buggy hw rx vlan tagging 2011-08-13 18:00:33 -07:00
gianfar.h
gianfar_ethtool.c gianfar: Fix overflow check and return value for gfar_get_cls_all() 2011-09-20 15:40:12 -04:00
gianfar_ptp.c gianfar: fix fiper alignment after resetting the time 2011-08-07 22:53:22 -07:00
gianfar_sysfs.c
greth.c GRETH: avoid overwrite IP-stack's IP-frags checksum 2011-09-20 15:16:16 -04:00
greth.h GRETH: RX/TX bytes were never increased 2011-09-20 15:16:16 -04:00
hamachi.c
hp-plus.c
hp.c
hp100.c
hp100.h
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c ibmveth: Fix checksum offload failure handling 2011-09-16 15:26:32 -04:00
ibmveth.h
ifb.c
ioc3-eth.c
ipg.c
ipg.h
iseries_veth.c
jazzsonic.c
jme.c
jme.h
korina.c
ks8842.c
ks8851.c
ks8851.h
ks8851_mll.c
ksz884x.c
lance.c
lantiq_etop.c
lasi_82596.c
lib8390.c
lib82596.c
ll_temac.h
ll_temac_main.c
ll_temac_mdio.c
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
mdio.c
meth.c
meth.h
mii.c
mipsnet.c
mv643xx_eth.c
mvme147.c
natsemi.c
ne-h8300.c
ne.c
ne2.c
ne2k-pci.c
ne3210.c
netconsole.c netconsole: switch init_netconsole() to late_initcall 2011-09-20 15:45:07 -04:00
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c
niu.h
ns83820.c
pasemi_mac.c
pasemi_mac.h
pasemi_mac_ethtool.c
pci-skeleton.c
pcnet32.c PCnet: Fix section mismatch 2011-08-11 07:42:45 -07:00
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c ppp_generic: fix multilink fragment MTU calculation (again) 2011-09-20 15:20:58 -04:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppox.c
pptp.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c net: pxa168: Fix build errors by including interrupt.h 2011-09-20 15:47:27 -04:00
qla3xxx.c
qla3xxx.h
r6040.c
r8169.c r8169: do not enable the TBI for anything but the original 8169. 2011-09-17 11:42:21 +02:00
rionet.c rapidio: fix use of non-compatible registers 2011-08-25 16:25:34 -07:00
rrunner.c
rrunner.h
s2io-regs.h
s2io.c
s2io.h
s6gmac.c
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c net: sh_eth: fix the compile error 2011-08-26 12:48:24 -04:00
sh_eth.h
sis190.c
sis900.c
sis900.h
skge.c
skge.h
sky2.c
sky2.h
slhc.c
slip.c
slip.h
smc-mca.c
smc-ultra.c
smc-ultra32.c
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smsc911x.c
smsc911x.h
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
spider_net.c
spider_net.h
spider_net_ethtool.c
starfire.c
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem.c
sungem.h
sungem_phy.c
sungem_phy.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c
tehuti.h
tg3.c tg3: fix VLAN tagging regression 2011-09-21 02:14:12 -04:00
tg3.h
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c
typhoon.c
typhoon.h
ucc_geth.c
ucc_geth.h
ucc_geth_ethtool.c
veth.c
via-rhine.c
via-velocity.c via-velocity: remove non-tagged packet filtering 2011-08-17 20:13:39 -07:00
via-velocity.h
virtio_net.c
wd.c
xen-netfront.c
xilinx_emaclite.c
xtsonic.c
yellowfin.c
znet.c
zorro8390.c