mlx4: fix missing unlock in case of error
Fixes: 7fae69eeff13 ("mlx4: new poll mode driver") Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
parent
9df03dd7d5
commit
2f9f46587a
@ -3645,6 +3645,7 @@ mlx4_dev_start(struct rte_eth_dev *dev)
|
||||
}
|
||||
}
|
||||
priv->started = 0;
|
||||
priv_unlock(priv);
|
||||
return -ret;
|
||||
} while ((--r) && ((rxq = (*priv->rxqs)[++i]), i));
|
||||
priv_unlock(priv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user