]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
idpf: Fix error handling in idpf_vport_open()
authorSreedevi Joshi <sreedevi.joshi@intel.com>
Tue, 2 Dec 2025 23:12:46 +0000 (17:12 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 6 Jan 2026 23:42:10 +0000 (15:42 -0800)
commit87b8ee64685bc096a087af833d4594b2332bfdb1
tree13dc256a05c7571a52e985e88cd2b4d6aaa6c121
parentebecca5b093895da801b3eba1a55b4ec4027d196
idpf: Fix error handling in idpf_vport_open()

Fix error handling to properly cleanup interrupts when
idpf_vport_queue_ids_init() or idpf_rx_bufs_init_all() fail. Jump to
'intr_deinit' instead of 'queues_rel' to ensure interrupts are cleaned up
before releasing other resources.

Fixes: d4d558718266 ("idpf: initialize interrupts and enable vport")
Signed-off-by: Sreedevi Joshi <sreedevi.joshi@intel.com>
Reviewed-by: Madhu Chittim <madhu.chittim@intel.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Samuel Salin <Samuel.salin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/idpf/idpf_lib.c