linux-stable/drivers/infiniband/hw/mlx5
Noa Osherovich bc5c6eed05 IB/mlx5: Limit query HCA clock
When PAGE_SIZE is larger than 4K, the user shouldn't be able to query
the HCA core clock. This counter is within 4KB boundary and the
user-space shall not read information that's after this boundary.

Fixes: b368d7cb8c ('IB/mlx5: Add hca_core_clock_offset to...')
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-06-07 10:03:49 -04:00
..
ah.c IB/mlx5: Add RoCE fields to Address Vector 2015-12-23 12:07:37 -05:00
cq.c IB/mlx5: Fire the CQ completion handler from tasklet 2016-05-18 10:45:49 -04:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
gsi.c IB/mlx5: Eliminate GSI RX QP's send buffers 2016-03-01 11:04:07 -05:00
ib_virt.c IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c net/mlx5_core: Add VF param when querying vport counter 2016-03-21 17:13:14 -04:00
main.c IB/mlx5: Limit query HCA clock 2016-06-07 10:03:49 -04:00
Makefile IB/mlx5: Implement callbacks for manipulating VFs 2016-03-21 17:13:14 -04:00
mem.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mlx5_ib.h Merge branches 'cxgb4-2', 'i40iw-2', 'ipoib', 'misc-4.7' and 'mlx5-fcs' into k.o/for-4.7 2016-05-13 19:40:38 -04:00
mr.c IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
odp.c net/mlx5: Refactor mlx5_core_mr to mkey 2016-03-01 11:18:37 -05:00
qp.c IB/mlx5: Add Scatter FCS support for Raw Packet QP 2016-05-13 19:40:28 -04:00
srq.c IB/{core, mlx5}: Fix input len in vendor part of create_qp/srq 2016-03-03 10:00:18 -05:00
user.h IB/mlx5: Add memory windows allocation support 2016-03-01 11:18:54 -05:00