[dpdk-dev] [PATCH] fix memif does not free resources

Ferruh Yigit ferruh.yigit at intel.com
Tue Apr 7 12:14:55 CEST 2020


On 4/4/2020 10:48 PM, Stephen Hemminger wrote:
> On Sat,  4 Apr 2020 13:15:57 +0300
> Vadim Podovinnikov <podovinnikov at protei.ru> wrote:
> 
>> Signed-off-by: Vadim Podovinnikov <podovinnikov at protei.ru>
>> ---
>>  drivers/net/memif/rte_eth_memif.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/net/memif/rte_eth_memif.c b/drivers/net/memif/rte_eth_memif.c
>> index 81d71c53a..653ffa9b8 100644
>> --- a/drivers/net/memif/rte_eth_memif.c
>> +++ b/drivers/net/memif/rte_eth_memif.c
>> @@ -1510,7 +1510,7 @@ memif_create(struct rte_vdev_device *vdev, enum memif_role_t role,
>>  	}
>>  
>>  
>> -	eth_dev->data->dev_flags &= RTE_ETH_DEV_CLOSE_REMOVE;
>> +	eth_dev->data->dev_flags |= RTE_ETH_DEV_CLOSE_REMOVE;
>>  
>>  	rte_eth_dev_probing_finish(eth_dev);
>>  
> 
> This looks like a bug fix, please add.
> 
> Fixes: c41a04958b09 ("net/memif: support multi-process")
> Cc: jgrajcia at cisco.com
> 

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


More information about the dev mailing list