diff options
author | Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> | 2024-12-17 08:23:25 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-19 06:23:51 +0300 |
commit | b95c8c33ae687fcd3007cefa93907a6bd270119b (patch) | |
tree | e5c8ef592b572fa5d1a5f1cb2ff4c04473eaebe4 /fs/xfs/xfs_exchrange.c | |
parent | 51df947678360faf1967fe0bd1a40c681f634104 (diff) | |
download | linux-b95c8c33ae687fcd3007cefa93907a6bd270119b.tar.xz |
octeontx2-pf: fix error handling of devlink port in rvu_rep_create()
Unregister the devlink port when register_netdev() fails.
Fixes: 9ed0343f561e ("octeontx2-pf: Add devlink port support")
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Link: https://patch.msgid.link/20241217052326.1086191-2-harshit.m.mogalapalli@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions