Browse Source

[e1000] Ensure descriptor is fully written before sending packet

Reported-by: Mark McLoughlin <markmc@redhat.com>
tags/v0.9.8
Michael Brown 15 years ago
parent
commit
5e1ef98469
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/drivers/net/e1000/e1000.c

+ 1
- 0
src/drivers/net/e1000/e1000.c View File

588
 
588
 
589
 	/* Write new tail to NIC, making packet available for transmit
589
 	/* Write new tail to NIC, making packet available for transmit
590
 	 */
590
 	 */
591
+	wmb();
591
 	E1000_WRITE_REG ( hw, TDT, adapter->tx_tail );
592
 	E1000_WRITE_REG ( hw, TDT, adapter->tx_tail );
592
 
593
 
593
 	return 0;
594
 	return 0;

Loading…
Cancel
Save