via-rhine: add consistent memory barrier in vlan receive code.
authorfrançois romieu <romieu@fr.zoreil.com>
Fri, 1 May 2015 20:14:43 +0000 (22:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 04:18:26 +0000 (00:18 -0400)
commit810f19bcb862f8889b27e0c9d9eceac9593925dd
tree17869473e734b25b1cdb553ca3b406efda31f3bd
parent62ca1ba020ee01fa23092c09fa197e7984c5dc88
via-rhine: add consistent memory barrier in vlan receive code.

The NAPI receive path depends on desc->rx_status but it does not
enforce any explicit receive barrier.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/via-rhine.c