OpenCloudOS-Kernel/drivers/infiniband/hw/mlx5
Leon Romanovsky 0fd27a88c2 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: e126ba97db ("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>
2017-02-14 10:14:25 -05:00
..
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
Makefile IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
ah.c IB/mlx5: Use kernel driver to help userspace create ah 2016-12-13 13:38:49 -05:00
cq.c IB/mlx5: Allow future extension of libmlx5 input data 2017-01-09 20:25:09 +02:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
gsi.c IB/mlx5: Fix iteration overrun in GSI qps 2016-08-02 14:32:51 -04:00
ib_virt.c IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
mad.c IB/{core,hw}: Add constant for node_desc 2016-10-07 16:54:34 -04:00
main.c IB/mlx5: Support 4k UAR for libmlx5 2017-01-09 20:25:09 +02:00
mem.c IB/mlx5: Add MR cache for large UMR regions 2017-01-02 15:51:20 -05:00
mlx5_ib.h IB/mlx5: Allow future extension of libmlx5 input data 2017-01-09 20:25:09 +02:00
mr.c IB/mlx5: Improve MR check 2017-01-02 15:51:20 -05:00
odp.c IB/mlx5: Improve MR check 2017-01-02 15:51:20 -05:00
qp.c IB/mlx5: Allow future extension of libmlx5 input data 2017-01-09 20:25:09 +02:00
srq.c IB/mlx5: Fix out-of-bound access 2017-02-14 10:14:25 -05:00