mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-12 14:26:34 +00:00
[e1000] Ensure descriptor is fully written before sending packet
Reported-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
parent
58f60df66c
commit
5e1ef98469
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user