[dpdk-dev] [PATCH v1] net/nfp: fix dangling pointer on failure

Heinrich Kuhn heinrich.kuhn at netronome.com
Tue Apr 7 15:44:36 CEST 2020



On 2020/04/07 13:37, wangyunjian wrote:
> From: Yunjian Wang <wangyunjian at huawei.com>
> 
> When nfp_pf_create_dev() is cleaning up, it does not correctly set
> the dev_private variable to NULL, which will lead to a double free.
> 
> Fixes: ef28aa96e53b ("net/nfp: support multiprocess")
> CC: stable at dpdk.org
> 
> Signed-off-by: Yunjian Wang <wangyunjian at huawei.com>

Thanks Yunjian

Acked-by: Heinrich Kuhn <heinrich.kuhn at netronome.com>


More information about the dev mailing list