summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@nvidia.com>2026-06-03 22:27:42 -0300
committerJason Gunthorpe <jgg@nvidia.com>2026-06-08 14:32:42 -0300
commitee7a8335069150c3f1893a697ab30bbeca00d796 (patch)
tree23f289d5411cab8c0a06c3d66e064ed02a4a233a /include
parent93e64c7a33ff6679d4d1c0a03021a2ff0e2b6c98 (diff)
downloadlwn-ee7a8335069150c3f1893a697ab30bbeca00d796.tar.gz
lwn-ee7a8335069150c3f1893a697ab30bbeca00d796.zip
IB/mlx5: Properly support implicit ODP rereg_mr
Due to all the child mkeys in the implicit ODP configuration we cannot change anything in place for the parent mkey. Instead the whole thing needs to be rebuilt if any change is requested. If the user does not specify a translation then force the implicit values which will then fall through the logic into mlx5_ib_reg_user_mr() to allocate a completely new MR. Since implicit children were also touching the mr->pd, this removes another case where the access was racy. Fixes: ef3642c4f54d ("RDMA/mlx5: Fix error unwinds for rereg_mr") Link: https://sashiko.dev/#/patchset/20260427-security-bug-fixes-v3-0-4621fa52de0e%40nvidia.com?part=4 Link: https://patch.msgid.link/r/3-v1-29ebd2c229b5+fd5-ib_mr_pd_jgg@nvidia.com Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions