summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2021-09-23 17:57:47 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2021-10-01 00:07:55 +0300
commita586775f83bd729ad60b56352dbe067f4bb0beee (patch)
tree1563c690c53f899e7a05fdd7b747e0fcd9130255 /init
parent7dbc849b2ab3b8ea8f767361c46f914bb2b7779d (diff)
downloadlinux-a586775f83bd729ad60b56352dbe067f4bb0beee.tar.xz
net/mlx5: E-Switch, Fix double allocation of acl flow counter
Flow counter is allocated in eswitch legacy acl setting functions without checking if already allocated by previous setting. Add a check to avoid such double allocation. Fixes: 07bab9502641 ("net/mlx5: E-Switch, Refactor eswitch ingress acl codes") Fixes: ea651a86d468 ("net/mlx5: E-Switch, Refactor eswitch egress acl codes") Signed-off-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions