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

2020-04-08 Thread wangyunjian
From: Yunjian Wang 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: sta...@dpdk.org Signed-off-by: Yunjian Wang ---

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

2020-04-09 Thread Ferruh Yigit
On 4/9/2020 2:59 AM, wangyunjian wrote: > From: Yunjian Wang > > 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")