commit | ea192aa89c3b26d56113e70c72238f6951d4097f | [log] [tgz] |
---|---|---|
author | Guo-Fu Tseng <cooldavid@cooldavid.org> | Mon Oct 18 14:10:42 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 21 03:52:10 2010 -0700 |
tree | ad9da86028bcbfcea07be56be4a3ab2df4470b01 | |
parent | 3ee94018a9f49ca98e3f77f54a769c784115dbb8 [diff] |
jme: Prevent possible read re-order error Adding read memory barrier in between flag reading and data reading of receive descriptors. This prevents the data being read before hardware complete writing informations. Reported-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org> Signed-off-by: David S. Miller <davem@davemloft.net>