diff options
author | Eli Cohen <eli@mellanox.com> | 2017-01-03 23:55:19 +0200 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2017-01-08 11:21:26 +0200 |
commit | de8d6e02efbdb259c67832ccf027d7ace9b91d5d (patch) | |
tree | 8d9f209e2a7f8ba8b05d2800aac6ae067b97a90d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 525dfa2cdce4f5ab76251b5e57ebabf4f2dfc40c (diff) |
IB/mlx5: Fix kernel to user leak prevention logic
The logic was broken as it failed to update the response length for
architectures with PAGE_SIZE larger than 4kB. As a result further
extension of the ucontext response struct would fail.
Fixes: d69e3bcf7976 ('IB/mlx5: Mmap the HCA's core clock register to user-space')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions