From: Jesse Brandeburg Date: Thu, 16 Apr 2009 16:59:47 +0000 (+0000) Subject: e1000: fix transmit routine exit bug X-Git-Tag: v2.6.30-rc4~68^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=843f42678f6c47a2c8d1648e584cb57ebff3750f;p=pandora-kernel.git e1000: fix transmit routine exit bug If the e1000 transmit cleanup inner loop exited early, then cleaned might not be true. This could cause tx hangs or other badness. Use count to track the total number of descriptors cleaned instead of basing a tx queue restart off of a temporary working state variable. This code now makes the flow the same for e1000/e1000e/igb/ixgbe Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed