summaryrefslogtreecommitdiff
path: root/rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorJacob Moroni <jmoroni@google.com>2026-06-04 15:41:04 +0000
committerJason Gunthorpe <jgg@nvidia.com>2026-06-05 14:09:29 -0300
commit1521d560b7a1a39e437d37fffd9b55435d329ad1 (patch)
treef398c0634c2306d1f09a73479ec26c70914ca36d /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git
parent4385ddd654d90245eeb83b3cb539670ab5c85ba4 (diff)
RDMA/irdma: Initialize iwmr->access during MR registration
Initialize iwmr->access during initial user mem registration so that it contains a valid value during a subsequent rereg_mr. Otherwise, a rereg_mr that doesn't set IB_MR_REREG_ACCESS (for example, one that only changes the PD) ends up clearing the access flags in HW since iwmr->access is zero-initialized, which is not intended. Fixes: 5ac388db27c4 ("RDMA/irdma: Add support to re-register a memory region") Link: https://patch.msgid.link/r/20260604154104.4035581-1-jmoroni@google.com Signed-off-by: Jacob Moroni <jmoroni@google.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions