[PATCH] bus/vdev: fix devargs memory leak
    Burakov, Anatoly 
    anatoly.burakov at intel.com
       
    Fri Feb  2 15:52:52 CET 2024
    
    
  
On 9/1/2023 9:24 AM, Mingjin Ye wrote:
> When a device is created by a secondary process, an empty devargs is
> temporarily generated and bound to it. This causes the device to not
> be associated with the correct devargs, and the empty devargs are not
> released when the resource is freed.
> 
> This patch fixes the issue by matching the devargs when inserting a
> device in secondary process.
> 
> Fixes: dda987315ca2 ("vdev: make virtual bus use its device struct")
> Fixes: a16040453968 ("eal: extract vdev infra")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Mingjin Ye <mingjinx.ye at intel.com>
> ---
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
-- 
Thanks,
Anatoly
    
    
More information about the dev
mailing list