numam-dpdk/drivers/net/i40e
Wei Zhao b342fd9084 net/i40e: fix wild pointer
In i40e PMD code of function i40e_res_pool_free(), if valid_entry
is freed by "rte_free(valid_entry);" in the code, then the following
code for pool update may still use the wild pointer "valid_entry"
for pool info update. It seems has the risk of core dump for
using wild pointer operation, we should avoid this risk.

Fixes: 4861cde461 ("i40e: new poll mode driver")
Cc: stable@dpdk.org

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Reviewed-by: Jeff Guo <jia.guo@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
2020-05-19 17:12:16 +02:00
..
base net/i40e/base: update copyright 2020-05-18 20:35:57 +02:00
i40e_ethdev_vf.c net/i40e: enable VF to program MAC address 2020-04-21 13:57:06 +02:00
i40e_ethdev.c net/i40e: fix wild pointer 2020-05-19 17:12:16 +02:00
i40e_ethdev.h net/i40e: support hash configuration in RSS flow 2020-04-21 13:57:08 +02:00
i40e_fdir.c net/i40e: fix flow director initialisation 2020-04-21 13:57:09 +02:00
i40e_flow.c net/i40e: fix queue region in RSS flow 2020-05-18 20:35:57 +02:00
i40e_logs.h net/i40e: use dynamic log type for Tx/Rx debug 2019-10-07 15:00:58 +02:00
i40e_pf.c net/i40e: limit the number of VF messages 2019-10-07 15:00:56 +02:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c eal/ppc: fix bool type after altivec include 2020-05-06 11:45:13 +02:00
i40e_rxtx_vec_avx2.c net/i40e: fix clang build with 16B descriptors 2019-11-20 17:36:05 +01:00
i40e_rxtx_vec_common.h net/i40e: fix Rx instability with vector mode 2018-11-05 16:50:14 +01:00
i40e_rxtx_vec_neon.c net/i40e: restrict pointer aliasing for NEON 2020-04-21 13:57:08 +02:00
i40e_rxtx_vec_sse.c replace cold attributes 2020-04-16 18:30:58 +02:00
i40e_rxtx.c replace cold attributes 2020-04-16 18:30:58 +02:00
i40e_rxtx.h net/i40e: cleanup Tx buffers 2020-01-17 19:46:26 +01:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_vf_representor.c ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
Makefile build: disable experimental API check internally 2020-04-14 16:22:34 +02:00
meson.build net/i40e: enable PPC AltiVec path in meson build 2020-04-22 12:31:12 +02:00
rte_pmd_i40e_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
rte_pmd_i40e.c net/i40e: handle ESP tunnel 2020-01-17 19:59:18 +01:00
rte_pmd_i40e.h net/i40e: support ipn3ke FPGA port bonding 2019-11-20 17:36:05 +01:00