Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: Avoid cleaning flow steering table twice during error flow
[ Upstream commit 9c26f5f ] When we fail to initialize the RX root namespace, we need to clean only that and not the entire flow steering. Currently the code may try to clean the flow steering twice on error witch leads to null pointer deference. Make sure we clean correctly. Fixes: fba53f7 ("net/mlx5: Introduce mlx5_flow_steering structure") Signed-off-by: Talat Batheesh <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information