[dpdk-dev] [PATCH] net/ixgbe: slove mbuf leak

Qiming Chen chenqiming_huawei at 163.com
Tue Aug 31 08:40:43 CEST 2021


Do you mean let me sync to stable at dpdk.org?


| |
Qiming Chen
|
|
chenqiming_huawei at 163.com
|
签名由网易邮箱大师定制
On 8/31/2021 14:04,Wang, Haiyue<haiyue.wang at intel.com> wrote:
-----Original Message-----
From: Qiming Chen <chenqiming_huawei at 163.com>
Sent: Tuesday, August 31, 2021 11:28
To: dev at dpdk.org
Cc: Wang, Haiyue <haiyue.wang at intel.com>; Qiming Chen <chenqiming_huawei at 163.com>
Subject: [PATCH] net/ixgbe: slove 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.

Signed-off-by: Qiming Chen <chenqiming_huawei at 163.com>

Backport ?

Cc: stable at dpdk.org

---
drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++++
1 file changed, 4 insertions(+)



Acked-by: Haiyue Wang <haiyue.wang at intel.com>


--
2.30.1.windows.1


More information about the dev mailing list