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

v4.0.x: TCP BTL socklen fix #5826

Merged
merged 2 commits into from
Oct 2, 2018

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented Oct 2, 2018

Fixes #5815

Get Brian's patch from open-mpi#5825 and his log message:
Fix a failure in binding the initiating side of a connection
on MacOS. MacOS doesn't like passing the size of the storage
structure (sockaddr_storage) instead of the expected size of
the structure (sockaddr_in or sockaddr_in6), which was causing
bind() failures. This patch simply changes the structure size
to the expected size.

Add a more clear error message in debug mode.

Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
(cherry picked from commit 9164e26)
Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
(cherry picked from commit a3a492b)
@gpaulsen gpaulsen merged commit 9d1a6db into open-mpi:v4.0.x Oct 2, 2018
@jsquyres jsquyres deleted the pr/v4.0.x/tcp-btl-socklen-fix branch September 25, 2019 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants