linux-stable/drivers/net/ethernet
Michael Chan 48a3056973 cnic: Fix crash in cnic_bnx2x_service_kcq()
commit 104a43edb2
    cnic: Use CHIP_NUM macros from bnx2x.h

changed the code to use the bnx2x macro NO_FCOE() to determine if FCoE
is supported or not.  There is another place in cnic that is still using
the old method to determine if FCoE is supported or not.  The 2 methods
may not yield the same result after the network interface is brought down
and up.  This will cause the crash as cnic_bnx2x_service_kcq() will access
the uninitialized cp->kcq2.

The fix is to consistently use the same macro CNIC_SUPPORTS_FCOE() which
uses the bnx2x NO_FCOE() macro.  As a follow-up, we can clean up the code
to remove the old method as it is no longer needed.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-09-18 12:24:32 -04:00
..
3com
8390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-09-05 14:58:52 -04:00
adaptec
adi bfin_mac: remove deprecated IRQF_DISABLED 2013-09-12 23:27:09 -04:00
aeroflex drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
allwinner drivers: net: sun4i-emac: select MDIO_SUN4I 2013-07-26 13:57:58 -07:00
alteon
amd ethernet: amd: remove deprecated IRQF_DISABLED 2013-09-12 23:27:09 -04:00
apple net: Restore unintentional reverts. 2013-06-24 12:43:40 -07:00
arc ethernet/arc/arc_emac: Fix huge delays in large file copies 2013-09-05 14:25:10 -04:00
atheros alx: remove redundant D0 power state set 2013-09-13 20:10:41 -04:00
broadcom cnic: Fix crash in cnic_bnx2x_service_kcq() 2013-09-18 12:24:32 -04:00
brocade bna: firmware update to 3.2.1.1 2013-08-27 16:03:15 -04:00
cadence net: macb: use dev_get_platdata() 2013-08-30 17:43:39 -04:00
calxeda net: calxedaxgmac: fix xgmac_xmit DMA mapping error handling 2013-09-03 22:21:16 -04:00
chelsio cxgb4: remove workqueue when driver registration fails 2013-09-15 22:28:58 -04:00
cirrus net: ep93xx_eth: use dev_get_platdata() 2013-08-30 17:43:35 -04:00
cisco driver/net: enic: update enic maintainers and driver 2013-09-05 12:39:33 -04:00
davicom net: dm9000: use dev_get_platdata() 2013-08-30 17:43:35 -04:00
dec net: tulip: remove deprecated IRQF_DISABLED 2013-09-12 23:27:09 -04:00
dlink sundance: Add netpoll support 2013-08-20 15:05:03 -07:00
emulex be2net: missing variable initialization 2013-09-13 20:08:06 -04:00
faraday drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
freescale net: fec: remove deprecated IRQF_DISABLED 2013-09-15 22:01:05 -04:00
fujitsu
hp net: hp100: remove deprecated IRQF_DISABLED 2013-09-15 22:01:05 -04:00
i825xx ethernet: Convert mac address uses of 6 to ETH_ALEN 2013-08-02 12:33:54 -07:00
ibm drivers/net/ethernet/ibm/ehea/ehea_main.c: add alias entry for portN properties 2013-09-16 21:29:10 -04:00
icplus icplus: Use netif_running to determine device state 2013-09-05 14:27:32 -04:00
intel e1000e: fix overrun of PHY RAR array 2013-09-13 10:19:56 -07:00
marvell net: pxa168_eth: remove deprecated IRQF_DISABLED 2013-09-15 22:01:05 -04:00
mellanox net/mlx4_en: Check device state when setting coalescing 2013-09-12 23:42:15 -04:00
micrel net: ks8851-ml: remove deprecated IRQF_DISABLED 2013-09-15 22:01:05 -04:00
microchip
moxa ethernet: moxa: remove unnecessary platform_set_drvdata() 2013-08-22 15:12:21 -07:00
myricom drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
natsemi net: natsemi: remove deprecated IRQF_DISABLED 2013-09-15 22:01:06 -04:00
neterion
nuvoton drivers:net: delete premature free_irq 2013-09-04 13:18:19 -04:00
nvidia
nxp
octeon Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2013-07-13 14:52:21 -07:00
oki-semi drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
packetengines
pasemi net: pasemi: remove deprecated IRQF_DISABLED 2013-09-15 22:01:06 -04:00
qlogic qlcnic: Fix VF reset recovery 2013-09-15 22:10:57 -04:00
rdc
realtek r8169: enforce RX_MULTI_EN for the 8168f. 2013-09-12 02:38:43 -04:00
renesas Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-09-05 14:58:52 -04:00
seeq net: seeq: use dev_get_platdata() 2013-08-30 17:43:37 -04:00
sfc Merge branch 'sfc-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc 2013-09-16 21:43:54 -04:00
sgi drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent 2013-08-29 21:55:23 -04:00
silan
sis Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-09-06 09:36:28 -07:00
smsc net: smsc: remove deprecated IRQF_DISABLED 2013-09-15 22:01:06 -04:00
stmicro net: stmmac: fix bad merge conflict resolution 2013-09-05 18:07:00 -07:00
sun Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-09-05 14:54:29 -07:00
tehuti
ti net: davinci_mdio: use dev_get_platdata() 2013-08-30 17:43:38 -04:00
tile net: tilegx driver: avoid compiler warning 2013-09-11 16:57:45 -04:00
toshiba net: ps3_gelic: remove deprecated IRQF_DISABLED 2013-09-15 22:01:06 -04:00
tundra net: tsi108: use dev_get_platdata() 2013-08-30 17:43:38 -04:00
via Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-08-16 15:37:26 -07:00
wiznet net: w5100: use dev_get_platdata() 2013-08-30 17:43:38 -04:00
xilinx Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-09-05 14:58:52 -04:00
xircom
xscale net: ixp4xx_eth: use dev_get_platdata() 2013-08-30 17:43:39 -04:00
dnet.c
dnet.h
ethoc.c net: ethoc: use dev_get_platdata() 2013-08-30 17:43:35 -04:00
fealnx.c
jme.c jme: lower NAPI weight 2013-08-27 14:59:27 -04:00
jme.h
Kconfig net: Add MOXA ART SoCs ethernet driver 2013-08-11 21:38:12 -07:00
korina.c net: korina: remove deprecated IRQF_DISABLED 2013-09-11 16:09:58 -04:00
lantiq_etop.c net: lantiq_etop: remove deprecated IRQF_DISABLED 2013-09-15 22:01:05 -04:00
Makefile net: Add MOXA ART SoCs ethernet driver 2013-08-11 21:38:12 -07:00
netx-eth.c net: netx-eth: remove unnecessary casting 2013-09-04 00:27:27 -04:00
s6gmac.c