diff options
author | Raed Salem <raeds@mellanox.com> | 2019-12-24 10:54:45 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-02-06 23:24:22 +0300 |
commit | 0dc2c534f17c05bed0622b37a744bc38b48ca88a (patch) | |
tree | 818ac690b0804b42df7e449b6df2a43dcd1c0489 /fs/nfs_common | |
parent | c1948390d78b5183ee9b7dd831efd7f6ac496ab0 (diff) | |
download | linux-0dc2c534f17c05bed0622b37a744bc38b48ca88a.tar.xz |
net/mlx5: IPsec, Fix esp modify function attribute
The function mlx5_fpga_esp_validate_xfrm_attrs is wrongly used
with negative negation as zero value indicates success but it
used as failure return value instead.
Fix by remove the unary not negation operator.
Fixes: 05564d0ae075 ("net/mlx5: Add flow-steering commands for FPGA IPSec implementation")
Signed-off-by: Raed Salem <raeds@mellanox.com>
Reviewed-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'fs/nfs_common')
0 files changed, 0 insertions, 0 deletions