TencentOS-kernel/drivers/infiniband
Yishai Hadas 73e655a568 RDMA/mlx5: Fix udata response upon SRQ creation
[ Upstream commit cf26deff9036cd3270af562dbec545239e5c7f07 ]

Fix udata response upon SRQ creation to use the UAPI structure (i.e.
mlx5_ib_create_srq_resp). It did not zero the reserved field in userspace.

Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
Link: https://lore.kernel.org/r/20200406173540.1466477-1-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-16 16:30:09 +08:00
..
core RDMA/core: Fix several reference count leaks. 2021-03-16 16:30:05 +08:00
hw RDMA/mlx5: Fix udata response upon SRQ creation 2021-03-16 16:30:09 +08:00
sw RDMA/rxe: Always return ERR_PTR from rxe_create_mmap_info() 2021-03-16 16:27:56 +08:00
ulp IB/ipoib: Fix double free of skb in case of multicast traffic in CM mode 2021-03-16 16:28:36 +08:00
Kconfig Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00
Makefile Init Repo base on linux 5.4.32 long term, and add base tlinux kernel interfaces. 2021-03-16 11:01:34 +08:00