Skip to content

Commit

Permalink
fix(shm): Fix incorrect parameters when mapping regions
Browse files Browse the repository at this point in the history
  • Loading branch information
rbx authored and dennisklein committed Sep 6, 2022
1 parent 3aae5ba commit d105960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fairmq/shmem/Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ class Manager
if (info.event == RegionEvent::created) {
RegionConfig cfg;
cfg.id = info.id;
cfg.creationFlags = info.id;
cfg.creationFlags = regionInfo.fCreationFlags;
cfg.path = regionInfo.fPath.c_str();
regionCfgs.emplace(info.id, cfg);
// fill the ptr+size info after shmLock is released, to avoid constructing local region under it
Expand Down

0 comments on commit d105960

Please sign in to comment.