aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-12-13 14:33:23 -0800
committerJason Gunthorpe <jgg@nvidia.com>2021-12-14 20:21:22 -0400
commite517f76a3cb24b2a4749e0348390aece24cf9925 (patch)
treef52df840a7a59832a8018db84bcf0b90a0c4110d /tools/perf/scripts/python/export-to-postgresql.py
parent4922f0920966c28d674b03479cdcb7f3939bfbbd (diff)
RDMA/mlx5: Use memset_after() to zero struct mlx5_ib_mr
In preparation for FORTIFY_SOURCE performing compile-time and run-time field bounds checking for memset(), avoid intentionally writing across neighboring fields. Use memset_after() to zero the end of struct mlx5_ib_mr that should be initialized. Link: https://lore.kernel.org/r/20211213223331.135412-10-keescook@chromium.org Acked-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions