fm10k: free MBX IRQ before clearing interrupt scheme
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 4 Feb 2016 18:47:58 +0000 (10:47 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 5 Apr 2016 19:49:22 +0000 (12:49 -0700)
commitc8ed563bebeabbf0b1085b52916dd2fb6e219276
tree0175bc76b81d2a318a518f3d5664e17453470a41
parent61e0217e83353cf895f8b2d0a187804171d119ca
fm10k: free MBX IRQ before clearing interrupt scheme

During fm10k_io_error_detected we were clearing the interrupt scheme
before we freed the MBX IRQ. This causes a kernel panic because the MBX
IRQ are assigned after MSI-X initialization. Clearing the interrupt
scheme results in removing the MSI-X entry table. Fix this by freeing
the MBX IRQ before we clear the interrupt scheme, as we do elsewhere in
the driver.

Signed-off-by: Jacob Keller <jacob.e.keller@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/fm10k/fm10k_pci.c