Commit f4630b19 authored by Jeb J. Cramer's avatar Jeb J. Cramer Committed by Jeff Garzik

[E1000] Tx Descriptor cleanup

* Completely clean Tx descriptor to avoid potential dirty descriptor
  fetching (rare, but possible)
parent fd1a461e
...@@ -1976,6 +1976,8 @@ e1000_clean_tx_irq(struct e1000_adapter *adapter) ...@@ -1976,6 +1976,8 @@ e1000_clean_tx_irq(struct e1000_adapter *adapter)
tx_ring->buffer_info[i].skb = NULL; tx_ring->buffer_info[i].skb = NULL;
} }
tx_desc->buffer_addr = 0;
tx_desc->lower.data = 0;
tx_desc->upper.data = 0; tx_desc->upper.data = 0;
if(++i == tx_ring->count) i = 0; if(++i == tx_ring->count) i = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment