]> 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)
commit53d01e8f63202cf9c81d094df7d0850e5dcd3021
tree483eed4e1fd43ff7675bb6b32bf049ccecf1dced
parentc7c0faceb70b482d25847e766928d4d29f491653
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: 303d4b5437ed ("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