]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbevf: Handle previously-freed msix_entries
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 28 Oct 2016 17:46:39 +0000 (10:46 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 25 Feb 2017 05:48:15 +0000 (21:48 -0800)
commita498036170a28f5f1591747b26c8b847c01bfbac
tree0c0d18f0727d6c152263f79451917051635d0de6
parente0705a4bcd73d53253c8f05ebc38832c7d27999b
ixgbevf: Handle previously-freed msix_entries

Orabug: 24568240

The msix_entries memory can be freed by a previous suspend or
remove, so don't crash on close when it isn't there. Also only
clear the interrupts when the interface is up, because there
aren't any when it is not up.

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>
(cherry picked from commit eeffceee421b17a1d484679d738f278fbaa01384)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c