linux/drivers/net/ethernet/intel/ice
Eric Joyner 857a4f0e9f ice: Fix resource leak on early exit from function
Memory allocated in the ice_add_prof_id_vsig() function wasn't being
properly freed if an error occurred inside the for-loop in the function.

In particular, 'p' wasn't being freed if an error occurred before it was
added to the resource list at the end of the for-loop.

Signed-off-by: Eric Joyner <eric.joyner@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-05-21 22:10:04 -07:00
..
ice_adminq_cmd.h ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_base.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_base.h ice: Add support to enable/disable all Rx queues before waiting 2020-02-15 16:39:55 -08:00
ice_common.c ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_common.h ice: add board identifier info to devlink .info_get 2020-03-21 01:02:19 -07:00
ice_controlq.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_controlq.h ice: Update FW API minor version 2019-11-22 13:43:46 -08:00
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: SW DCB, report correct max TC value 2020-02-19 13:09:20 -08:00
ice_dcb_nl.h ice: Implement DCBNL support 2019-11-08 12:02:14 -08:00
ice_dcb.c ice: Trivial fixes 2020-02-12 11:49:12 -08:00
ice_dcb.h ice: Allow for delayed LLDP MIB change registration 2019-09-05 08:13:41 -07:00
ice_devids.h ice: fix define for E822 backplane device 2020-02-19 13:39:33 -08:00
ice_devlink.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_devlink.h ice: add a devlink region for dumping NVM contents 2020-03-26 19:39:26 -07:00
ice_ethtool.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_flex_pipe.c ice: Fix resource leak on early exit from function 2020-05-21 22:10:04 -07:00
ice_flex_pipe.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flex_type.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flow.c ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_flow.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_hw_autogen.h ice: Don't reset and rebuild for Tx timeout on PFC enabled queue 2020-05-21 22:10:03 -07:00
ice_lan_tx_rx.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_lib.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_lib.h ice: use variable name more descriptive than type 2020-03-10 13:10:58 -07:00
ice_main.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_nvm.c ice: report netlist version in .info_get 2020-05-21 22:10:03 -07:00
ice_nvm.h ice: add board identifier info to devlink .info_get 2020-03-21 01:02:19 -07:00
ice_osdep.h ice: Start hardware initialization 2018-03-26 09:59:08 -07:00
ice_protocol_type.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_sched.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_sched.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_sriov.c ice: remove unnecessary fallthrough comments 2020-02-15 16:56:48 -08:00
ice_sriov.h ice: Add handlers for VF netdevice operations 2018-10-03 07:42:30 -07:00
ice_status.h ice: Populate TCAM filter software structures 2020-01-25 21:34:36 -08:00
ice_switch.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_switch.h ice: Add NDO callback to set the maximum per-queue bitrate 2019-11-08 11:58:49 -08:00
ice_txrx_lib.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx_lib.h ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx.c ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_txrx.h ice: Add support for tunnel offloads 2020-05-21 22:10:03 -07:00
ice_type.h ice: Fix casting issues 2020-05-21 22:10:04 -07:00
ice_virtchnl_pf.c ice: cleanup vf_id signedness 2020-05-21 22:10:04 -07:00
ice_virtchnl_pf.h ice: cleanup vf_id signedness 2020-05-21 22:10:04 -07:00
ice_xsk.c xdp: For Intel AF_XDP drivers add XDP frame_sz 2020-05-14 21:21:56 -07:00
ice_xsk.h ice: Use EOPNOTSUPP instead of ENOTSUPP 2020-03-10 13:10:53 -07:00
ice.h ice: cleanup vf_id signedness 2020-05-21 22:10:04 -07:00
Makefile ice: enable initial devlink support 2020-03-21 00:55:42 -07:00