net/mlx5: Don't unlock fte while still using it
commit 0fd758d6112f867b2cc6df0f6a856048ff99b211 upstream.
When adding a new rule to an fte, we need to hold the fte lock
until we add that rule to the fte and increase the fte ref count.
Fixes: 0c56b97503fd ("net/mlx5_core: Introduce flow steering API")
Signed-off-by: Mark Bloch <email@example.com>
Signed-off-by: Saeed Mahameed <firstname.lastname@example.org>
Signed-off-by: Leon Romanovsky <email@example.com>
Signed-off-by: Paul Gortmaker <firstname.lastname@example.org>
1 file changed