igb: check for packets on all tx rings when link is down
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 12 Nov 2009 18:38:16 +0000 (18:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:46:52 +0000 (20:46 -0800)
commitdbabb065802a46d64b8869ba97674bfa90b55d83
treed38b0efce1b978d7e05221aa66cf7188c56d4386
parent971d1d3a7e9f03af870909fddfc3b2fc08e4f5b1
igb: check for packets on all tx rings when link is down

We were previously only checking the first tx ring to see if it had any
packets in it when the link when down.  However we should be checking all
of the rings so this patch makes it so that all of the rings are now being
checked.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c