]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitacd6e340f5164d8953fb2311db71218763d972f2
treed38b0efce1b978d7e05221aa66cf7188c56d4386
parent8c31a39cf3431f180cb83140c4768d243b9e0ea0
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