linux/drivers/net/ethernet/broadcom
wenxiong@linux.vnet.ibm.com 9aaae044ab bnx2x: Fix kernel crash and data miscompare after EEH recovery
A rmb() is required to ensure that the CQE is not read before it
is written by the adapter DMA.  PCI ordering rules will make sure
the other fields are written before the marker at the end of struct
eth_fast_path_rx_cqe but without rmb() a weakly ordered processor can
process stale data.

Without the barrier we have observed various crashes including
bnx2x_tpa_start being called on queues not stopped (resulting in message
start of bin not in stop) and NULL pointer exceptions from bnx2x_rx_int.

Signed-off-by: Milton Miller <miltonm@us.ibm.com>
Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-03 18:37:38 -07:00
..
bnx2x bnx2x: Fix kernel crash and data miscompare after EEH recovery 2014-06-03 18:37:38 -07:00
genet net: bcmgenet: Remove unnecessary version.h inclusion 2014-04-04 10:02:23 -04:00
b44.c net: Replace u64_stats_fetch_begin_bh to u64_stats_fetch_begin_irq 2014-03-14 22:41:36 -04:00
b44.h b44: use fixed PHY device if we do not find any 2013-12-20 20:48:49 -05:00
bcm63xx_enet.c bcm63xx_enet: Stop pretending to support netpoll 2014-03-13 15:23:43 -04:00
bcm63xx_enet.h bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
bgmac.c bgmac: propagate error codes in bgmac_probe() 2014-01-14 18:19:20 -08:00
bgmac.h bgmac: add support for Northstar SoC (BCM4707, BCM53018) 2014-01-04 20:25:20 -05:00
bnx2_fw.h
bnx2.c bnx2: Don't build unused suspend/resume functions not enabled 2014-04-14 12:40:00 -04:00
bnx2.h bnx2: Fix shutdown sequence 2014-03-09 19:02:27 -04:00
cnic_defs.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic_if.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic.c cnic: Fix missing ISCSI_KEVENT_IF_DOWN message 2014-06-02 23:16:41 -07:00
cnic.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
Kconfig net: bcmgenet: hook into the build system 2014-02-14 00:27:58 -05:00
Makefile net: bcmgenet: hook into the build system 2014-02-14 00:27:58 -05:00
sb1250-mac.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
tg3.c tg3: update rx_jumbo_pending ring param only when jumbo frames are enabled 2014-04-18 18:01:13 -04:00
tg3.h tg3: Don't check undefined error bits in RXBD 2014-02-28 17:16:16 -05:00