david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[e1000] Ensure descriptor is fully written before sending packet

Reported-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
Michael Brown 2009-06-23 18:36:01 +01:00
parent 58f60df66c
commit 5e1ef98469
1 changed files with 1 additions and 0 deletions

View File

@ -588,6 +588,7 @@ e1000_transmit ( struct net_device *netdev, struct io_buffer *iobuf )
/* Write new tail to NIC, making packet available for transmit
*/
wmb();
E1000_WRITE_REG ( hw, TDT, adapter->tx_tail );
return 0;