Unverified Commit 3bff6bb7 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents c96c2b4f 2c653f3c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1675,8 +1675,9 @@ static struct mlx5_flow_handle *add_rule_fg(struct mlx5_flow_group *fg,
	}
	trace_mlx5_fs_set_fte(fte, false);

	/* Link newly added rules into the tree. */
	for (i = 0; i < handle->num_rules; i++) {
		if (refcount_read(&handle->rule[i]->node.refcount) == 1) {
		if (!handle->rule[i]->node.parent) {
			tree_add_node(&handle->rule[i]->node, &fte->node);
			trace_mlx5_fs_add_rule(handle->rule[i]);
		}