diff options
author | Noa Osherovich <noaos@mellanox.com> | 2016-06-04 14:15:31 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-06-07 16:03:49 +0200 |
commit | bc5c6eed0510f19b033ce7a7d3976e695e96785b (patch) | |
tree | c6a46c036b9f4d0bc93c4383da96864b20e01728 /fs/ocfs2/ocfs2_trace.h | |
parent | IB/mlx5: Fix FW version diaplay in sysfs (diff) | |
download | linux-bc5c6eed0510f19b033ce7a7d3976e695e96785b.tar.xz linux-bc5c6eed0510f19b033ce7a7d3976e695e96785b.zip |
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: b368d7cb8ceb7 ('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>
Diffstat (limited to 'fs/ocfs2/ocfs2_trace.h')
0 files changed, 0 insertions, 0 deletions