Skip to content
Commit 9c04cfcd authored by Dinghao Liu's avatar Dinghao Liu Committed by Tony Nguyen
Browse files

i40e: Fix error handling in i40e_vsi_open



When vsi->type == I40E_VSI_FDIR, we have caught the return value of
i40e_vsi_request_irq() but without further handling. Check and execute
memory clean on failure just like the other i40e_vsi_request_irq().

Fixes: 8a9eb7d3 ("i40e: rework fdir setup and teardown")
Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Tested-by: default avatarTony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent c2f5c57d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment