Loading
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: d4d55871 ("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>