sfc: Insert read memory barrier after checking MAC statistics flag
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 1 Sep 2008 11:50:08 +0000 (12:50 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 24 Sep 2008 22:54:40 +0000 (18:54 -0400)
commit1d0680fd6235e0aa5baf14a8f1ff85eff9dc1fb3
treeb113a5c2ca999c4bb33db657e4e5cf81f222ebf3
parenta620e134e989b7ce683574039fc7cb956aa58970
sfc: Insert read memory barrier after checking MAC statistics flag

This prevents speculative reading of the statistics before the
completion flag.

From: Neil Turton <nturton@solarflare.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/falcon.c