netxen_nic: fix cdrp race condition
authorSritej Velaga <sritej.velaga@qlogic.com>
Fri, 3 Feb 2012 11:35:10 +0000 (11:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Feb 2012 20:59:28 +0000 (15:59 -0500)
commit2dcd5d95ad6b281fca6f2d5e252bbf7e8e20655b
tree3deaaa4c47ca20b7f2113cc078b8bb3af1619ed2
parente1f4c485cdb2b1d7aae172b731f6c2b403381ebb
netxen_nic: 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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic.h
drivers/net/ethernet/qlogic/netxen/netxen_nic_ctx.c