> -----Original Message-----
> From: dev <dev-boun...@dpdk.org> On Behalf Of Wang, Haiyue
> Sent: Monday, September 6, 2021 9:25 AM
> To: Qiming Chen <chenqiming_hua...@163.com>; dev@dpdk.org
> Cc: sta...@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3] net/ixgbe: fix mac resourece leak
>
> > -----Original Message-----
> > From: Qiming Chen <chenqiming_hua...@163.com>
> > Sent: Wednesday, September 1, 2021 15:12
> > To: dev@dpdk.org
> > Cc: Wang, Haiyue <haiyue.w...@intel.com>; Qiming Chen
> > <chenqiming_hua...@163.com>; sta...@dpdk.org
> > Subject: [PATCH v3] net/ixgbe: fix mac resourece leak
> >
> > In the eth_ixgbevf_dev_init and eth_ixgbe_dev_init functions, memory
> > is allocated for the MAC address, and the address is stored in the
> > eth_dev->data->mac_addrs member variable. If the subsequent function
> > is abnormal, you need to use the rte_free function to release the MAC
> > address memory.
> >
> > Fixes: af75078fece3 ("first public release")
> > Cc: sta...@dpdk.org
> >
> > Signed-off-by: Qiming Chen <chenqiming_hua...@163.com>
> > ---
> > v2:
> > Clear coding style warning.
> > v3:
> > Modify fixes commit.
> > ---
> > drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
>
> Acked-by: Haiyue Wang <haiyue.w...@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
>
> >
> > --
> > 2.30.1.windows.1