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

From: Przemek Kitszel
Date: Mon Dec 16 2024 - 04:16:00 EST


On 12/16/24 10:05, Harshit Mogalapalli wrote:
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 ?

Just [PATCH net v2].

Please add my Reviewed-by tags to both patches.
Please wait also one day, to don't send same series twice within 24h.


Thanks,
Harshit