From: Qiming Chen <[email protected]> Sent: Tuesday, August 31, 2021 14:41 To: Wang, Haiyue <[email protected]> Cc: [email protected] Subject: Re: [PATCH] net/ixgbe: slove mbuf leak
Do you mean let me sync to mailto:[email protected]? Yes. ;-) Qiming Chen mailto:[email protected] 签名由 https://mail.163.com/dashi/dlpro.html?from=mail81 定制 On 8/31/2021 14:04,mailto:[email protected] wrote: -----Original Message----- From: Qiming Chen <mailto:[email protected]> Sent: Tuesday, August 31, 2021 11:28 To: mailto:[email protected] Cc: Wang, Haiyue <mailto:[email protected]>; Qiming Chen <mailto:[email protected]> 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 <mailto:[email protected]> Backport ? Cc: mailto:[email protected] --- drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++++ 1 file changed, 4 insertions(+) Acked-by: Haiyue Wang <mailto:[email protected]> -- 2.30.1.windows.1

