net/mlx5: fix rollback when starting device
In mlx5_dev_start(), the spinlock isn't released when returning error. Fixes: c8d4ee50cc85 ("net/mlx5: fix startup when flow cannot be applied") Cc: stable@dpdk.org Signed-off-by: Yongseok Koh <yskoh@mellanox.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
parent
fa81d3b970
commit
5e0fbcf9fb
@ -109,6 +109,7 @@ error:
|
||||
priv_mac_addrs_disable(priv);
|
||||
priv_destroy_hash_rxqs(priv);
|
||||
priv_flow_stop(priv);
|
||||
priv_unlock(priv);
|
||||
return -err;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user