From e45af497950a89459a0c4b13ffd91e1729fffef4 Mon Sep 17 00:00:00 2001 From: françois romieu Date: Fri, 1 May 2015 22:14:38 +0200 Subject: via-rhine: commit receive buffer address before descriptor status update. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller --- drivers/net/ethernet/via/via-rhine.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/net/ethernet/via') diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index de2850497c09..88b45c7a35e0 100644 --- a/drivers/net/ethernet/via/via-rhine.c +++ b/drivers/net/ethernet/via/via-rhine.c @@ -2075,6 +2075,7 @@ static int rhine_rx(struct net_device *dev, int limit) break; } rp->rx_ring[entry].addr = cpu_to_le32(rp->rx_skbuff_dma[entry]); + dma_wmb(); } rp->rx_ring[entry].rx_status = cpu_to_le32(DescOwn); } -- cgit v1.2.3