aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-05-28 15:52:53 +0300
committerJason Gunthorpe <[email protected]>2024-06-21 10:19:36 -0300
commitf637040c3339a2ed8c12d65ad03f9552386e2fe7 (patch)
treef7257a9a4270fe972dff20b36d9984e3b930613a /lib/test_fortify/write_overflow-strncpy-src.c
parentc1eb2512596fb3542357bb6c34c286f5e0374538 (diff)
RDMA/mlx5: Follow rb_key.ats when creating new mkeys
When a cache ent already exists but doesn't have any mkeys in it the cache will automatically create a new one based on the specification in the ent->rb_key. ent->ats was missed when creating the new key and so ma_translation_mode was not being set even though the ent requires it. Cc: [email protected] Fixes: 73d09b2fe833 ("RDMA/mlx5: Introduce mlx5r_cache_rb_key") Signed-off-by: Jason Gunthorpe <[email protected]> Reviewed-by: Michael Guralnik <[email protected]> Link: https://lore.kernel.org/r/7c5613458ecb89fbe5606b7aa4c8d990bdea5b9a.1716900410.git.leon@kernel.org Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions