ixgbe: add missing rtnl_lock in PM resume path
authorBenjamin Poirier <bpoirier@suse.de>
Fri, 6 Apr 2012 07:20:21 +0000 (07:20 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 17 Apr 2012 22:40:34 +0000 (15:40 -0700)
commit34948a947d1a576c10afee6d14792fd237549577
tree545fabb4a809d100d7f569a527ab0adb6ae8e9cd
parenta99ff7d0123b19ecad3b589480b6542716ab6b52
ixgbe: add missing rtnl_lock in PM resume path

Upon resume from standby, ixgbe may trigger the ASSERT_RTNL() in
netif_set_real_num_tx_queues(). The call stack is:
netif_set_real_num_tx_queues
ixgbe_set_num_queues
ixgbe_init_interrupt_scheme
ixgbe_resume

Signed-off-by: Benjamin Poirier <bpoirier@suse.de>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c