TL/MLX5: fix IPv6 address conversion in inet_ntop
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
Can one of the admins verify this patch?
Hi @miharulidze, thanks for the PR, do you have contributor agreement signed of?
@Sergei-Lebedev nope - but can do within the week. Should I ack you when it's done?
@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.