[dpdk-stable] [PATCH v3] net/ixgbe: fix mbuf leak

Zhang, Qi Z qi.z.zhang at intel.com
Mon Sep 6 03:45:06 CEST 2021



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Wang, Haiyue
> Sent: Monday, September 6, 2021 9:22 AM
> To: Qiming Chen <chenqiming_huawei at 163.com>; dev at dpdk.org
> Cc: stable at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3] net/ixgbe: fix mbuf leak
> 
> > -----Original Message-----
> > From: Qiming Chen <chenqiming_huawei at 163.com>
> > Sent: Wednesday, September 1, 2021 15:23
> > To: dev at dpdk.org
> > Cc: Wang, Haiyue <haiyue.wang at intel.com>; Qiming Chen
> > <chenqiming_huawei at 163.com>; stable at dpdk.org
> > Subject: [PATCH v3] net/ixgbe: 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: af75078fece3 ("first public release")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Qiming Chen <chenqiming_huawei at 163.com>
> > ---
> > v2:
> >   Sync to stable at dpdk.org
> > v3:
> >   Modify fixes commit
> > ---
> >  drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++++
> >  1 file changed, 4 insertions(+)
> >
> 
> Acked-by: Haiyue Wang <haiyue.wang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi
> 
> 
> >
> > --
> > 2.30.1.windows.1



More information about the stable mailing list