Skip to content
Commit 107c3f4d authored by Michael Chan's avatar Michael Chan Committed by David S. Miller
Browse files

cnic: Prevent status block race conditions with hardware



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: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1707be1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment