]> 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)
committerDhaval Giani <dhaval.giani@oracle.com>
Mon, 16 Jan 2017 21:18:31 +0000 (16:18 -0500)
commitf6a50fcffb6660d81ca298d60e50c48c867dafa3
tree94b491a501280fdcf455b5c31d265befeb577ec9
parente873e89a1c204b2749e4a4b78345e56490b8a4ca
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>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c