commit | 107c3f4d42adc9af393019b795dd2177fbe9e465 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Wed Mar 02 13:00:49 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 02 15:57:51 2011 -0800 |
tree | 547c9130536f19568e1b903e1bd2942933355179 | |
parent | 1707be1be18deb1deaecd768135290cffdeb0e8e [diff] |
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: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>