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:50:42 +0000 (07:50 +0800)
commit1a7a122d423969fa759576f60ca2feb3d69be066
treef476ff321afd46e763767957113a212941b4712a
parentf79361a69c5dc9aee56e3ba808428fd5f013666e
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