linux-bl808/drivers/net/ethernet/intel/ice
Jacob Keller bc3a024101 ice: fix potential double free in probe unrolling
If ice_init_interrupt_scheme fails, ice_probe will jump to clearing up
the interrupts. This can lead to some static analysis tools such as the
compiler sanitizers complaining about double free problems.

Since ice_init_interrupt_scheme already unrolls internally on failure,
there is no need to call ice_clear_interrupt_scheme when it fails. Add
a new unroll label and use that instead.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-05-28 15:50:01 -07:00
..
ice.h ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_adminq_cmd.h ice: fix MAC write command 2020-05-27 17:06:44 -07:00
ice_arfs.c ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_arfs.h ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_base.c ice: Check UMEM FQ size when allocating bufs 2020-05-27 18:13:59 -07:00
ice_base.h
ice_common.c ice: avoid undefined behavior 2020-05-27 17:58:21 -07:00
ice_common.h ice: avoid undefined behavior 2020-05-27 17:58:21 -07:00
ice_controlq.c ice: Handle critical FW error during admin queue initialization 2020-05-27 17:48:23 -07:00
ice_controlq.h ice: Handle critical FW error during admin queue initialization 2020-05-27 17:48:23 -07:00
ice_dcb.c
ice_dcb.h
ice_dcb_lib.c ice: Fix check for contiguous TCs 2020-05-21 22:10:04 -07:00
ice_dcb_lib.h ice: Don't reset and rebuild for Tx timeout on PFC enabled queue 2020-05-21 22:10:03 -07:00
ice_dcb_nl.c ice: remove unused macro 2020-05-27 17:03:40 -07:00
ice_dcb_nl.h
ice_devids.h
ice_devlink.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_devlink.h
ice_ethtool.c ice: cleanup unsigned loops 2020-05-22 22:27:31 -07:00
ice_ethtool_fdir.c ice: Implement aRFS 2020-05-22 22:02:34 -07:00
ice_fdir.c ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_fdir.h ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_flex_pipe.c ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_flex_pipe.h ice: Support IPv4 Flow Director filters 2020-05-22 21:36:27 -07:00
ice_flex_type.h ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_flow.c ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_flow.h ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_fltr.c ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_fltr.h ice: refactor filter functions 2020-05-21 22:10:04 -07:00
ice_hw_autogen.h ice: Handle critical FW error during admin queue initialization 2020-05-27 17:48:23 -07:00
ice_lan_tx_rx.h ice: avoid undefined behavior 2020-05-27 17:58:21 -07:00
ice_lib.c ice: cleanup VSI context initialization 2020-05-28 15:48:39 -07:00
ice_lib.h ice: Initialize Flow Director resources 2020-05-22 21:26:37 -07:00
ice_main.c ice: fix potential double free in probe unrolling 2020-05-28 15:50:01 -07:00
ice_nvm.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_nvm.h
ice_osdep.h
ice_protocol_type.h ice: Enable flex-bytes support 2020-05-22 21:44:48 -07:00
ice_sched.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_sched.h
ice_sriov.c
ice_sriov.h
ice_status.h ice: Handle critical FW error during admin queue initialization 2020-05-27 17:48:23 -07:00
ice_switch.c ice: Initialize Flow Director resources 2020-05-22 21:26:37 -07:00
ice_switch.h ice: Initialize Flow Director resources 2020-05-22 21:26:37 -07:00
ice_txrx.c ice: Support IPv4 Flow Director filters 2020-05-22 21:36:27 -07:00
ice_txrx.h ice: fix signed vs unsigned comparisons 2020-05-27 17:02:47 -07:00
ice_txrx_lib.c ice: Refactor Rx checksum checks 2020-05-27 18:00:35 -07:00
ice_txrx_lib.h ice: Rename build_ctob to ice_build_ctob 2020-05-21 22:10:04 -07:00
ice_type.h ice: check for compatibility between DDP package and firmware 2020-05-22 22:22:50 -07:00
ice_virtchnl_pf.c ice: set VF default LAN address 2020-05-27 17:05:02 -07:00
ice_virtchnl_pf.h ice: print Rx MDD auto reset message before VF reset 2020-05-22 22:07:06 -07:00
ice_xsk.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-05-22 18:30:34 -07:00
ice_xsk.h ice, xsk: Migrate to new MEM_TYPE_XSK_BUFF_POOL 2020-05-21 17:31:26 -07:00
Makefile ice: Implement aRFS 2020-05-22 22:02:34 -07:00