numam-dpdk/drivers/net/iavf
Qiming Chen 45570d7e44 net/iavf: fix resource leak on probing failure
During the port probe process, there are two abnormal branches that did
not release the previously requested memory, resulting in leakage. The
patch adds an iavf_uninit_vf function, which corresponds to the
iavf_init_vf function.

Fixes: ff2d0c345c ("net/iavf: support generic flow API")
Cc: stable@dpdk.org

Signed-off-by: Qiming Chen <chenqiming_huawei@163.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2021-09-15 05:10:10 +02:00
..
iavf_ethdev.c net/iavf: fix resource leak on probing failure 2021-09-15 05:10:10 +02:00
iavf_fdir.c net/iavf: support flow director for IPv6 fragments 2021-08-29 13:23:17 +02:00
iavf_generic_flow.c net/iavf: support flow pattern for GTPoGRE 2021-07-16 10:11:30 +02:00
iavf_generic_flow.h net/iavf: support flow pattern for GTPoGRE 2021-07-16 10:11:30 +02:00
iavf_hash.c net/iavf: fix default RSS hash for IP fragments 2021-08-29 13:46:06 +02:00
iavf_log.h net/iavf: refine debug build option 2021-04-01 16:10:20 +02:00
iavf_rxtx_vec_avx2.c net/iavf: use write combining store for tail updates 2021-06-10 12:04:16 +02:00
iavf_rxtx_vec_avx512.c net/iavf: use write combining store for tail updates 2021-06-10 12:04:16 +02:00
iavf_rxtx_vec_common.h net/iavf: use write combining store for tail updates 2021-06-10 12:04:16 +02:00
iavf_rxtx_vec_sse.c drivers/net: fix vector Rx comments 2021-08-10 05:01:57 +02:00
iavf_rxtx.c net/iavf: fix Rx queue buffer size alignment 2021-09-15 04:44:22 +02:00
iavf_rxtx.h net/iavf: check Tx packet with correct UP and queue 2021-07-06 04:58:15 +02:00
iavf_tm.c net/iavf: fix bandwidth unit in TM capability query 2021-07-16 10:19:29 +02:00
iavf_vchnl.c net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
iavf.h net/iavf: check Tx packet with correct UP and queue 2021-07-06 04:58:15 +02:00
meson.build net/iavf: query QoS capabilities and set queue TC mapping 2021-07-06 04:58:15 +02:00
rte_pmd_iavf.h net/iavf: fix SPDX license text 2020-11-20 21:10:05 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00