qlcnic: fix cdrp race condition
authorSritej Velaga <sritej.velaga@qlogic.com>
Mon, 29 Aug 2011 12:50:29 +0000 (12:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Aug 2011 02:52:50 +0000 (22:52 -0400)
commit9254b751492c7fc08497a5c0e0cd668ddd269ea2
tree0835d876bf509dc1dc776ad87ee48cdcef043fbc
parenta2050c7eeef034521f34df9cb896e72ea6802331
qlcnic: fix cdrp race condition

Reading CRB registers(if reqd) before releasing the api lock.

Signed-off-by: Sritej Velaga <sritej.velaga@qlogic.com>
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_init.c