diff options
author | Kees Cook <[email protected]> | 2021-12-13 14:33:23 -0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-12-14 20:21:22 -0400 |
commit | e517f76a3cb24b2a4749e0348390aece24cf9925 (patch) | |
tree | f52df840a7a59832a8018db84bcf0b90a0c4110d /scripts/gdb/linux/tasks.py | |
parent | 4922f0920966c28d674b03479cdcb7f3939bfbbd (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/[email protected]
Acked-by: Leon Romanovsky <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions