aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorEmil Tantilov <[email protected]>2016-11-11 10:07:47 -0800
committerJeff Kirsher <[email protected]>2017-01-03 13:03:36 -0800
commitf7f37e7ff2b9b7eff7fbd035569cab35896869a3 (patch)
tree1db22aa7dabc519edd5ef39aaeae0cfbb4bd7abf /tools/perf/scripts/python/bin
parentf215266470dfe86196a31fe0725a86cea77f9a18 (diff)
ixgbe: handle close/suspend race with netif_device_detach/present
When an interface is part of a namespace it is possible that ixgbe_close() may be called while __ixgbe_shutdown() is running which ends up in a double free WARN and/or a BUG in free_msi_irqs(). To handle this situation we extend the rtnl_lock() to protect the call to netif_device_detach() and ixgbe_clear_interrupt_scheme() in __ixgbe_shutdown() and check for netif_device_present() to avoid clearing the interrupts second time in ixgbe_close(); Also extend the rtnl lock in ixgbe_resume() to netif_device_attach(). Signed-off-by: Emil Tantilov <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions