ixgbe: Handle previously-freed msix_entries
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 28 Sep 2016 22:36:38 +0000 (15:36 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 5 Nov 2016 00:16:50 +0000 (17:16 -0700)
commit1fa71252778d6fe151438b009416e4ce7bc1c802
tree265168d434c6ad91ed01d1e5704ef36fb1b248e1
parent2916500db3075cf2dd7968fe0f140ef4df7c6d31
ixgbe: Handle previously-freed msix_entries

The msix_entries memory can be freed by a previous suspend or
remove, so don't crash on close when it isn't there.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c