]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Remove MSIx only if created
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 10 Mar 2016 22:59:43 +0000 (14:59 -0800)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 17:40:44 +0000 (10:40 -0700)
commitc2ca9f7c03b4db3a9fe411159eb5d3bb33ae8cb7
tree2f2e0e10af1c9c3d7cb38f41761ef8dfe7fdb9c7
parent497f846a23930cbd0978f29188b6e80a52d4f95f
i40e: Remove MSIx only if created

Orabug: 23176970

When cleaning up the interrupt handling, clean up the IRQs only if
we actually got them set up.  There are a couple of error recovery
paths that were violating this and causing the kernel a bit of
indigestion.

Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Reviewed-by: Williams, Mitch A <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 692783980ad6163e8586baa36c066cd0d22fc7ce)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c