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

octeontx2-pf: fix error handling of devlink port in rvu_rep_create()



Unregister the devlink port when register_netdev() fails.

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-2-harshit.m.mogalapalli@oracle.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 51df9476
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