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

TL/MLX5: fix IPv6 address conversion in inet_ntop #928

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miharulidze
Copy link

What

This commit fixes the conversion of binary IPv6 address into the human-readable string using inet_ntop.

Why ?

In our testing environment, the debug output of MLX5 TL prints garbage IPv6 addresses during the multicast initialization/teardown phase.

How ?

Pass sin6_addr field of type struct in6_addr that is the part of the sockaddr_in6 structure, as specified in https://man7.org/linux/man-pages/man3/inet_ntop.3.html

@swx-jenkins3
Copy link

Can one of the admins verify this patch?

@Sergei-Lebedev
Copy link
Contributor

Hi @miharulidze, thanks for the PR, do you have contributor agreement signed of?

@miharulidze
Copy link
Author

@Sergei-Lebedev nope - but can do within the week. Should I ack you when it's done?

@Sergei-Lebedev
Copy link
Contributor

@Sergei-Lebedev nope - but can do within the week. Should I ack you when it's done?

Yes, please. We need CLA to merge the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants