numam-dpdk/drivers/net/iavf
Qiming Chen a38df1edd6 net/iavf: fix mbuf leak
A local test found that repeated port start and stop operations during
the continuous SSE vector bufflist receiving process will cause the mbuf
resource to run out. The final positioning is when the port is stopped,
the mbuf of the pkt_first_seg pointer is not released. Resources leak.
The patch scheme is to judge whether the pointer is empty when the port
is stopped, and release the corresponding mbuf if it is not empty.

Fixes: 69dd4c3d08 ("net/avf: enable queue and device")
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 03:22:28 +02:00
..
iavf_ethdev.c net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +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 mbuf leak 2021-09-15 03:22:28 +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