jme: Prevent possible read re-order error
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Mon, 18 Oct 2010 11:56:20 +0000 (19:56 +0800)
committerGuo-Fu Tseng <cooldavid@cooldavid.org>
Mon, 18 Oct 2010 23:51:46 +0000 (07:51 +0800)
commit9134abdaae742747de7d31e62d61eda9eb716e3c
tree3015955ae945c4dde9edfe96645c5d88aa9f8b4b
parente6b41b51de71cc99799efbe39176db77d200a580
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>
jme.c