linux-stable/drivers/infiniband
Jiewei Ke 1a0ea3b872 RDMA/rxe: Fix error type of mmap_offset
[ Upstream commit 6ca18d8927 ]

The type of mmap_offset should be u64 instead of int to match the type of
mminfo.offset. If otherwise, after we create several thousands of CQs, it
will run into overflow issues.

Link: https://lore.kernel.org/r/20191227113613.5020-1-kejiewei.cn@gmail.com
Signed-off-by: Jiewei Ke <kejiewei.cn@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:34:44 +01:00
..
core RDMA/core: Fix protection fault in get_pkey_idx_qp_list 2020-02-19 19:51:58 +01:00
hw RDMA/hfi1: Fix memory leak in _dev_comp_vect_mappings_create 2020-02-19 19:51:58 +01:00
sw RDMA/rxe: Fix error type of mmap_offset 2020-02-24 08:34:44 +01:00
ulp scsi: RDMA/isert: Fix a recently introduced regression related to logout 2020-01-29 16:43:21 +01:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile