]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix for race with 8259(8|9) during shutdown
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 11 Jun 2010 13:20:29 +0000 (13:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jun 2010 01:20:52 +0000 (18:20 -0700)
commit59fd1b91513fa0f8eff1d6fd5a3225a9e4a8bdd1
tree531cbcadc890a3b13fb3a829431fd4b72618b48c
parentbd8f5a4b5f4dd34b2b92e1fb2b659bf7ed5e883d
ixgbe: fix for race with 8259(8|9) during shutdown

There is a small window where the watchdog could be running as the
interface is brought down on a NIC with two ports wired back to back.
If ixgbe_update_status is then called can lead to a panic.  This patch
allows the update to bail if we are in that condition.

This issue was orignally reported and fix proposed by Akihiko Saitou.

CC: Akihiko Saitou <asaitou@users.sourceforge.net>
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c