linux/drivers/net/ethernet/intel/i40e
Jesse Brandeburg e908f81562 i40e: warn on double free
Down was requesting queue disables, but then exited immediately without
waiting for the queues to actually disable. This could allow any
function called after i40evf_down to run immediately, including
i40evf_up, and causes a memory leak.

This issue has been fixed in a recent refactor of the reset code, but
add a couple WARN_ONs in the slow path to help us recognize if we
reintroduce this issue or if we missed any cases.

Change-ID: I27b6b5c9a79c1892f0ba453129f116bc32647dd0
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-09-30 05:40:36 -07:00
..
i40e.h i40e: Strip VEB stats if they are disabled in HW 2015-09-30 05:35:45 -07:00
i40e_adminq.c i40e/i40evf: add exec_aq command to nvmupdate utility 2015-09-17 17:49:42 -07:00
i40e_adminq.h i40e/i40evf: fix up type clash in i40e_aq_rc_to_posix conversion 2015-09-30 05:14:12 -07:00
i40e_adminq_cmd.h i40e: fixup padding issue in get_cee_dcb_cfg_v1_resp 2015-09-30 05:19:01 -07:00
i40e_alloc.h
i40e_common.c i40e/i40evf: add new device id 1588 2015-09-30 05:33:21 -07:00
i40e_dcb.c i40e/i40evf: Cache the CEE TLV status returned from firmware 2015-08-26 15:12:16 -07:00
i40e_dcb.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_dcb_nl.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_debugfs.c i40e: limit debugfs io ops 2015-09-30 05:28:36 -07:00
i40e_diag.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_diag.h
i40e_ethtool.c i40e: Strip VEB stats if they are disabled in HW 2015-09-30 05:35:45 -07:00
i40e_fcoe.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_fcoe.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_hmc.c i40e: clean up unneeded gotos 2015-07-23 05:15:26 -07:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_main.c i40e: refactor interrupt enable 2015-09-30 05:38:10 -07:00
i40e_nvm.c i40e/i40evf: add get AQ result command to nvmupdate utility 2015-09-17 17:52:07 -07:00
i40e_osdep.h i40e: adds FCoE configure option 2015-01-14 16:48:39 -05:00
i40e_prototype.h i40e/i40evf: Update FW API with X722 support 2015-08-05 16:53:44 -07:00
i40e_ptp.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_register.h i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag 2015-08-26 15:09:54 -07:00
i40e_status.h
i40e_txrx.c i40e: warn on double free 2015-09-30 05:40:36 -07:00
i40e_txrx.h i40e: Fix RS bit update in Tx path and disable force WB workaround 2015-09-28 17:38:28 -07:00
i40e_type.h i40e/i40evf: add new device id 1588 2015-09-30 05:33:21 -07:00
i40e_virtchnl.h i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag 2015-08-26 15:09:54 -07:00
i40e_virtchnl_pf.c i40e: use QOS field consistently 2015-09-30 05:26:13 -07:00
i40e_virtchnl_pf.h i40e: support virtual channel API 1.1 2015-07-23 05:22:26 -07:00
Makefile i40e: Strip configfs code 2015-03-07 07:01:06 -08:00