[dpdk-dev] [PATCH v2] net/pfe: fix double free of MAC address

Ferruh Yigit ferruh.yigit at intel.com
Thu Apr 9 14:46:28 CEST 2020


On 4/9/2020 2:59 AM, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> The 'mac_addrs' freeing has been moved to rte_eth_dev_release_port(),
> so freeing 'mac_addrs' like this in pfe_eth_exit() is unnecessary and
> will cause double free.
> 
> Fixes: 67fc3ff97c39 ("net/pfe: introduce basic functions")
> CC: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list