diff options
author | Terry Loftin <terry.loftin@hp.com> | 2010-04-09 10:29:49 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 03:03:13 -0700 |
commit | dac876193cd79ced36d0462749ea47c05844fb49 (patch) | |
tree | 8b16c5fe80b76ba2fcce7ada953d14269a609980 /net/can | |
parent | d5aa22520dbb49e726420ca56b3dcfe56724d33e (diff) | |
download | linux-3.10-dac876193cd79ced36d0462749ea47c05844fb49.tar.gz linux-3.10-dac876193cd79ced36d0462749ea47c05844fb49.tar.bz2 linux-3.10-dac876193cd79ced36d0462749ea47c05844fb49.zip |
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: Terry Loftin <terry.loftin@hp.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions