diff options
author | Ilya Lesokhin <ilyal@mellanox.com> | 2017-08-17 15:52:32 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-08-24 17:47:34 -0400 |
commit | 7b4cdaae73ee833975a767cf54a3354d355b3f8d (patch) | |
tree | a5b8fb1a7012e3b79d4bce69d543d381b228dc74 /include/linux/mlx5 | |
parent | 5942d8ae411775b76e5e1ab0cce57b0666516f2d (diff) |
IB/mlx5: Fix integer overflow when page_shift == 31
Fix a bug where MR registration fails when mlx5_ib_cont_pages
indicates that the MR can be mapped using 2GB pages (page_shift == 31).
Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters")
Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions