> -Original Message-
> From: dev On Behalf Of Wang, Haiyue
> Sent: Monday, September 6, 2021 9:25 AM
> To: Qiming Chen ; dev@dpdk.org
> Cc: sta...@dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3] net/ixgbe: fix mac resourece leak
>
> > -Original Message
> -Original Message-
> From: Qiming Chen
> Sent: Wednesday, September 1, 2021 15:12
> To: dev@dpdk.org
> Cc: Wang, Haiyue ; Qiming Chen
> ; 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
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:
3 matches
Mail list logo