From: Jesse Brandeburg Date: Thu, 7 May 2009 11:07:35 +0000 (+0000) Subject: e1000/e1000e/igb/ixgb: don't txhang after link down X-Git-Tag: v2.6.31-rc1~330^2~451 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2d5ab4973bfaa72cbb677801825ce56c8f69b56;p=pandora-kernel.git e1000/e1000e/igb/ixgb: don't txhang after link down after the recent changes to wired drivers to use only netif_carrier_off the driver can have outstanding tx work to complete that will never complete once link is down. Since the intel hardware will hold this tx work forever, the driver notices a tx timeout condition internally and might try to instigate printk and reset of the part with a netif_stop_queue, which doesn't work because link is down. Don't bother arming to tx hang detection when link is down. Signed-off-by: Jesse Brandeburg Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed