Commit 0ddc805
committed
osc/rdma: Fix segfault in shared memory peer initialization
Commit 815fe8e changed the ex_peer->super.base_handle assignment
when cpu atomics is not available + peer is local. We need a valid
base handle when use_memory_registration is true. This patch
fixes this issue.
Signed-off-by: Shi Jin <sjina@amazon.com>1 parent 333d8ad commit 0ddc805
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
| 869 | + | |
| 870 | + | |
869 | 871 | | |
870 | 872 | | |
871 | 873 | | |
| |||
0 commit comments