android_kernel_oneplus_msm8998/drivers/net/ethernet/intel/fm10k
Alexander Duyck acafdb31f5 fm10k: Cleanup exception handling for mailbox interrupt
[ Upstream commit e00e23bceba48a8f0c94fefe26948404cbd43d0a ]

This patch addresses two issues.

First is the fact that the fm10k_mbx_free_irq was assuming msix_entries was
valid and that will not always be the case.  As such we need to add a check
for if it is NULL.

Second is the fact that we weren't freeing the IRQ if the mailbox API
returned an error on trying to connect.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Reviewed-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-15 08:27:39 +02:00
..
fm10k.h fm10k: Correct MTU for jumbo frames 2016-09-15 08:27:39 +02:00
fm10k_common.c
fm10k_common.h
fm10k_dcbnl.c
fm10k_debugfs.c fm10k: use snprintf() instead of sprintf() to avoid buffer overflow 2015-10-13 23:49:13 -07:00
fm10k_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
fm10k_iov.c fm10k: add support for extra debug statistics 2015-09-22 15:58:27 -07:00
fm10k_main.c fm10k: Cleanup MSI-X interrupts in case of failure 2016-09-15 08:27:39 +02:00
fm10k_mbx.c
fm10k_mbx.h
fm10k_netdev.c fm10k: fix memory leak 2015-11-18 14:58:03 -05:00
fm10k_pci.c fm10k: Cleanup exception handling for mailbox interrupt 2016-09-15 08:27:39 +02:00
fm10k_pf.c
fm10k_pf.h
fm10k_ptp.c
fm10k_tlv.c
fm10k_tlv.h
fm10k_type.h fm10k: do not assume VF always has 1 queue 2016-09-15 08:27:39 +02:00
fm10k_vf.c fm10k: reset max_queues on init_hw_vf failure 2016-09-15 08:27:39 +02:00
fm10k_vf.h
Makefile