Skip to content
Commit 51df9476 authored by Harshit Mogalapalli's avatar Harshit Mogalapalli Committed by Jakub Kicinski
Browse files

octeontx2-pf: fix netdev memory leak in rvu_rep_create()



When rvu_rep_devlink_port_register() fails, free_netdev(ndev) for this
incomplete iteration before going to "exit:" label.

Fixes: 9ed0343f ("octeontx2-pf: Add devlink port support")
Reviewed-by: default avatarPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: default avatarHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://patch.msgid.link/20241217052326.1086191-1-harshit.m.mogalapalli@oracle.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5eecd85c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment