aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorMaor Gottlieb <[email protected]>2020-10-21 05:42:49 +0000
committerSaeed Mahameed <[email protected]>2020-11-05 20:17:06 +0000
commit465e7baab6d93b399344f5868f84c177ab5cd16f (patch)
tree704fd87de3e0e15ee612271ecf4aa4c9564c51f8 /net/tipc
parentnet/mlx5e: Use spin_lock_bh for async_icosq_lock (diff)
downloadkernel-465e7baab6d93b399344f5868f84c177ab5cd16f.tar.gz
kernel-465e7baab6d93b399344f5868f84c177ab5cd16f.zip
net/mlx5: Fix deletion of duplicate rules
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 <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions