diff options
| author | Jacob Moroni <jmoroni@google.com> | 2026-06-04 18:41:04 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2026-06-05 20:09:29 +0300 |
| commit | 1521d560b7a1a39e437d37fffd9b55435d329ad1 (patch) | |
| tree | f398c0634c2306d1f09a73479ec26c70914ca36d /include/linux/stackprotector.h | |
| parent | 4385ddd654d90245eeb83b3cb539670ab5c85ba4 (diff) | |
| download | linux-1521d560b7a1a39e437d37fffd9b55435d329ad1.tar.xz | |
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 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
