linux/drivers/infiniband/hw
Leon Romanovsky b5a93e79df RDMA/mlx5: Fix flow steering egress flow
The commit mentioned in Fixes line removed the function that was
called to check validity of esp_aes_gcm attribute. Sadly, that
is_valid_esp_aes_gcm() returned success even for specs without
esp_aes_gcm at all.

So the right fix will be to remove whole if () and such fix
the following error observed in smatch too.

   drivers/infiniband/hw/mlx5/fs.c:1126 _create_flow_rule()
   warn: duplicate check 'is_egress' (previous on line 1098)

Fixes: de8bdb4769 ("RDMA/mlx5: Drop crypto flow steering API")
Link: https://lore.kernel.org/r/11b31c1f85bc8c8add385529aa3f307c3b383a11.1649842371.git.leonro@nvidia.com
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-04-19 13:20:12 -03:00
..
bnxt_re RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
cxgb4 RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
efa RDMA/efa: Add support for dmabuf memory regions 2021-10-28 08:58:26 -03:00
hfi1 RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
hns RDMA/hns: Init the variable at the suitable place 2022-04-11 11:00:35 -03:00
irdma RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
mlx4 RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
mlx5 RDMA/mlx5: Fix flow steering egress flow 2022-04-19 13:20:12 -03:00
mthca RDMA/mthca: Delete useless module.h include 2022-01-28 13:03:12 -04:00
ocrdma RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
qedr RDMA: Split kernel-only global device caps from uverbs device caps 2022-04-06 15:02:13 -03:00
qib v5.18 merge window pull request 2022-03-24 19:17:39 -07:00
usnic RDMA/usnic: Refactor usnic_uiom_alloc_pd() 2022-04-08 14:20:20 -03:00
vmw_pvrdma RDMA/pvrdma: Remove useless DMA-32 fallback configuration 2022-01-28 10:49:04 -04:00
Makefile RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00