Re: [PATCH next 1/2] octeontx2-pf: fix netdev memory leak in rvu_rep_create()

From: Harshit Mogalapalli
Date: Mon Dec 16 2024 - 04:06:48 EST


Hi,

On 16/12/24 13:39, Przemek Kitszel wrote:
On 12/16/24 08:05, Harshit Mogalapalli wrote:
When rvu_rep_devlink_port_register() fails, free_netdev(ndev) for this
incomplete iteration before going to "exit:" label.

Fixes: 3937b7308d4f ("octeontx2-pf: Create representor netdev")


Thanks for the review.
I would say that you are fixing:
Fixes: 9ed0343f561e ("octeontx2-pf: Add devlink port support")

Oh right, thank you for catching that. Will fix in V2.
this is also a -net material

So while sending a V2 I will include [PATCH net-next], that sounds good ?

Thanks,
Harshit