commit | 0fd27a88c2e4f548937fd7d93fc6e65c4ad7c278 | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Wed Jan 18 14:10:30 2017 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Tue Feb 14 10:14:25 2017 -0500 |
tree | 030acb22c1621e984a081b4014a1c60e83fc0d34 | |
parent | bda65b4255ac983ce36a6c0ea6a7794f8e8fcc86 [diff] |
IB/mlx5: Fix out-of-bound access When we initialize buffer to create SRQ in kernel, the number of pages was less than actually used in following mlx5_fill_page_array(). Fixes: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Cc: <stable@vger.kernel.org> # v3.10+ Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Eli Cohen <eli@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>