linux_dsm_epyc7002/drivers/infiniband
Leon Romanovsky 59dde4d19c RDMA/mlx5: Fix query_srq_cmd() function
The output buffer used in mlx5_cmd_exec_inout() was wrongly changed from
pre-allocated srq_out pointer to an input "out" point. That leads to
unpredictable results in the get_srqc() call later.

Fixes: 31578defe4 ("RDMA/mlx5: Update mlx5_ib to use new cmd interface")
Link: https://lore.kernel.org/r/20200513100809.246315-1-leon@kernel.org
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-05-13 16:01:50 -03:00
..
core RDMA/cm: Increment the refcount inside cm_find_listen() 2020-05-12 21:32:54 -03:00
hw RDMA/mlx5: Fix query_srq_cmd() function 2020-05-13 16:01:50 -03:00
sw RDMA: Group create AH arguments in struct 2020-05-02 20:19:53 -03:00
ulp RDMA: Allow ib_client's to fail when add() is called 2020-05-06 11:57:33 -03:00
Kconfig RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00