diff options
author | Terry Loftin <terry.loftin@hp.com> | 2010-04-09 10:29:49 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-26 07:41:34 -0700 |
commit | 87ef9895abd28755732e599070d1ede1a1f90c27 (patch) | |
tree | 5b0d5c1a8345a7ed5f89232ac533798a2de19636 /drivers/net/cxgb3 | |
parent | bbcb1d90f0b20e097ff6e2f80b130a92c73dde7d (diff) |
e1000e: stop cleaning when we reach tx_ring->next_to_use
commit dac876193cd79ced36d0462749ea47c05844fb49 upstream.
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>
Cc: Matthew Burgess <matthew@linuxfromscratch.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/net/cxgb3')
0 files changed, 0 insertions, 0 deletions