Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e45af497 authored by françois romieu's avatar françois romieu Committed by David S. Miller
Browse files

via-rhine: commit receive buffer address before descriptor status update.

parent 7c9a2eea
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
	}