1
0
Fork 0
alistair23-linux/drivers/infiniband
Jiewei Ke d1d92e9726 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:36:42 +01:00
..
core IB/core: Let IB core distribute cache update events 2020-02-24 08:36:26 +01:00
hw RDMA/hfi1: Fix memory leak in _dev_comp_vect_mappings_create 2020-02-19 19:53:06 +01:00
sw RDMA/rxe: Fix error type of mmap_offset 2020-02-24 08:36:42 +01:00
ulp IB/srp: Never use immediate data if it is disabled by a user 2020-02-14 16:34:07 -05:00
Kconfig RDMA/odp: Use the common interval tree library instead of generic 2019-08-21 13:34:09 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00