diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-04-06 17:53:46 +0100 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-04-14 11:02:58 -0700 |
commit | 82c3ba31c370b6001cbf90689e98da1fb6f26aef (patch) | |
tree | fa68ca98b7fbf66d2041d5eccf19457735f4e5cb /tools/perf/scripts/python/mem-phys-addr.py | |
parent | b7f86258a26402e5dd6b492b1d523e1b1bde34ec (diff) |
net/mlx5: Fix bit-wise and with zero
The bit-wise and of the action field with MLX5_ACCEL_ESP_ACTION_DECRYPT
is incorrect as MLX5_ACCEL_ESP_ACTION_DECRYPT is zero and not intended
to be a bit-flag. Fix this by using the == operator as was originally
intended.
Addresses-Coverity: ("Logically dead code")
Fixes: 7dfee4b1d79e ("net/mlx5: IPsec, Refactor SA handle creation and destruction")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions