]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Don't maintain a case of del_sw_func being null
authorRoi Dayan <roid@mellanox.com>
Mon, 11 May 2020 13:37:11 +0000 (16:37 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sat, 23 May 2020 00:28:50 +0000 (17:28 -0700)
commit620162b1e9dd1204ef48036b5af5b3e077a3f906
treecf0fca9ea39b7a622e40d2871ef9a90333094919
parenta7af3ac2656146309347c7ed2763480fc8dc740d
net/mlx5: Don't maintain a case of del_sw_func being null

Add del_sw_func cb for root ns. Now there is no need to
maintain a case of del_sw_func being null when freeing the node.

Fixes: c9fa290cb7c1 ("net/mlx5_core: Managing root flow table")
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