Skip to content

Commit

Permalink
ibv: fix a silly bug, base not populated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoang-Vu Dang committed Apr 2, 2020
1 parent 20a0d36 commit 51ef528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/include/server/server_ibv.h
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ static inline void lc_server_init(int id, lc_server** dev)
rep->rank = i;
rep->handle = (void*) s->qp[i];
rep->rkey = rctx.rkey;
rep->base = rctx.addr;
}

int j = lcg_size;
Expand Down

2 comments on commit 51ef528

@omor1
Copy link
Member

@omor1 omor1 commented on 51ef528 Apr 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this fix the puti segfault?

@danghvu
Copy link
Member

@danghvu danghvu commented on 51ef528 Apr 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is v2, I have a similar fix in v21, should work.

Please sign in to comment.