]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Fix cleaning unmanaged flow tables
authorRoi Dayan <roid@mellanox.com>
Mon, 11 May 2020 13:32:09 +0000 (16:32 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 23 May 2020 00:28:48 +0000 (17:28 -0700)
commita7af3ac2656146309347c7ed2763480fc8dc740d
tree483eed4e1fd43ff7675bb6b32bf049ccecf1dced
parent697249ae70e9593b009234974388e3ef24b4e2e7
net/mlx5: Fix cleaning unmanaged flow tables

Unmanaged flow tables doesn't have a parent and tree_put_node()
assume there is always a parent if cleaning is needed. fix that.

Fixes: 181a26e6d20d ("net/mlx5: fs_core: Introduce unmanaged flow tables")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c