Re: [dpdk-dev] [PATCH v1] net/pfe: fix to set mac_addrs to NULL after freeing

2020-04-08 Thread wangyunjian
; Subject: Re: [dpdk-dev] [PATCH v1] net/pfe: fix to set mac_addrs to NULL after > freeing > > On 4/7/2020 12:39 PM, wangyunjian wrote: > > From: Yunjian Wang > > > > It does not correctly set the mac_addrs variable to NULL after freeing > > it, which will lea

Re: [dpdk-dev] [PATCH v1] net/pfe: fix to set mac_addrs to NULL after freeing

2020-04-08 Thread Ferruh Yigit
On 4/7/2020 12:39 PM, wangyunjian wrote: > From: Yunjian Wang > > It does not correctly set the mac_addrs variable to NULL after > freeing it, which will lead to a double free. > > Fixes: 67fc3ff97c39 ("net/pfe: introduce basic functions") > Cc: sta...@dpdk.org > > Signed-off-by: Yunjian Wang

[dpdk-dev] [PATCH v1] net/pfe: fix to set mac_addrs to NULL after freeing

2020-04-07 Thread wangyunjian
From: Yunjian Wang It does not correctly set the mac_addrs variable to NULL after freeing it, which will lead to a double free. Fixes: 67fc3ff97c39 ("net/pfe: introduce basic functions") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang --- drivers/net/pfe/pfe_ethdev.c | 1 + 1 file changed, 1