Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msg/simple: fix missing unlock when already bind #13267

Merged
merged 2 commits into from Feb 20, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions src/msg/simple/SimpleMessenger.cc
Expand Up @@ -312,6 +312,7 @@ int SimpleMessenger::client_bind(const entity_addr_t &bind_addr)
lock.Lock();
if (did_bind) {
assert(my_inst.addr == bind_addr);
lock.Unlock();
Copy link
Contributor

Choose a reason for hiding this comment

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

AsyncMessager::client_bind also need this patch.

return 0;
}
if (started) {
Expand Down