We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eb7a26 commit 9ca4153Copy full SHA for 9ca4153
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
@@ -2350,6 +2350,12 @@ static int init_root_tree(struct mlx5_flow_steering *steering,
2350
2351
static void del_sw_root_ns(struct fs_node *node)
2352
{
2353
+ struct mlx5_flow_root_namespace *root_ns;
2354
+ struct mlx5_flow_namespace *ns;
2355
+
2356
+ fs_get_obj(ns, node);
2357
+ root_ns = container_of(ns, struct mlx5_flow_root_namespace, ns);
2358
+ mutex_destroy(&root_ns->chain_lock);
2359
kfree(node);
2360
}
2361
0 commit comments