Skip to content
Commit dac87619 authored by Terry Loftin's avatar Terry Loftin Committed by David S. Miller
Browse files

e1000e: stop cleaning when we reach tx_ring->next_to_use



Tx ring buffers after tx_ring->next_to_use are volatile and could
change, possibly causing a crash.  Stop cleaning when we hit
tx_ring->next_to_use.

Signed-off-by: default avatarTerry Loftin <terry.loftin@hp.com>
Acked-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d5aa2252
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