Skip to content
Commit 6ca18d89 authored by Jiewei Ke's avatar Jiewei Ke Committed by Jason Gunthorpe
Browse files

RDMA/rxe: Fix error type of mmap_offset

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: default avatarJiewei Ke <kejiewei.cn@gmail.com>
Reviewed-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 2ab367a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment