cnic: Prevent status block race conditions with hardware
authorMichael Chan <mchan@broadcom.com>
Wed, 2 Mar 2011 13:00:49 +0000 (13:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Mar 2011 23:57:51 +0000 (15:57 -0800)
The status block index is used to acknowledge interrupt events and must
be read before checking for the interrupt events, so we need to add rmb()
to guarantee that.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found