summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorMaor Gottlieb <maorg@nvidia.com>2020-10-21 08:42:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-18 19:20:26 +0100
commitb9e8f9d139bd7ea83e2e896ea08ae757cad5e7a8 (patch)
tree622473354d85d7c75b6d9fbd7b079186a904ea6d /include/trace
parente74e514c8ccaf05dd717144fb351f03795637a59 (diff)
net/mlx5: Fix deletion of duplicate rules
[ Upstream commit 465e7baab6d93b399344f5868f84c177ab5cd16f ] When a rule is duplicated, the refcount of the rule is increased so only the second deletion of the rule should cause destruction of the FTE. Currently, the FTE will be destroyed in the first deletion of rule since the modify_mask will be 0. Fix it and call to destroy FTE only if all the rules (FTE's children) have been removed. Fixes: 718ce4d601db ("net/mlx5: Consolidate update FTE for all removal changes") Signed-off-by: Maor Gottlieb <maorg@nvidia.com> Reviewed-by: Mark Bloch <mbloch@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions