summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
diff options
context:
space:
mode:
authorDmitry Kravkov2011-11-13 05:34:30 +0100
committerDavid S. Miller2011-11-13 22:03:56 +0100
commit4a025f49d3f2f2f39b474af360c81a5587b41657 (patch)
tree5f9ae3a4eecfd197839dc9ba5ab2c67710a6945f /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
parentbnx2x: add fan failure event handling (diff)
downloadkernel-qcow2-linux-4a025f49d3f2f2f39b474af360c81a5587b41657.tar.gz
kernel-qcow2-linux-4a025f49d3f2f2f39b474af360c81a5587b41657.tar.xz
kernel-qcow2-linux-4a025f49d3f2f2f39b474af360c81a5587b41657.zip
bnx2x: prevent race in statistics flow
The race may cause access of registers while MAC hw block is in reset state. As a result syslog will show error messages. We can prevent this by using state from local variable. Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c')
0 files changed, 0 insertions, 0 deletions