diff options
author | Moshe Shemesh <moshe@nvidia.com> | 2021-09-23 17:57:47 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-10-01 00:07:55 +0300 |
commit | a586775f83bd729ad60b56352dbe067f4bb0beee (patch) | |
tree | 1563c690c53f899e7a05fdd7b747e0fcd9130255 /init | |
parent | 7dbc849b2ab3b8ea8f767361c46f914bb2b7779d (diff) | |
download | linux-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