mlx5/mcast: fix inet_ntop argument for IPv6 address#1294
mlx5/mcast: fix inet_ntop argument for IPv6 address#1294janjust wants to merge 1 commit intoopenucx:masterfrom
Conversation
87af032 to
1aaf597
Compare
1aaf597 to
c5f3191
Compare
|
/build |
|
| Filename | Overview |
|---|---|
| src/components/tl/mlx5/mcast/tl_mlx5_mcast_helper.c | Fixes two incorrect inet_ntop calls by passing sin6_addr field instead of the full sockaddr_in6 struct, correcting garbage IPv6 debug output. |
Reviews (2): Last reviewed commit: "MLX5: fix inet_ntop mcast addr pointer t..." | Re-trigger Greptile
Pass sin6_addr field instead of the full sockaddr_in6 struct to inet_ntop(AF_INET6, ...), which expects a struct in6_addr pointer. Signed-off-by: Tomislav Janjusic <tomislavj@nvidia.com>
c5f3191 to
409ba7a
Compare
|
/build |
Debug output of MLX5 TL prints garbage IPv6 addresses during the multicast initialization/teardown phase.
Pass sin6_addr field instead of the full sockaddr_in6 struct to inet_ntop(AF_INET6, ...), which expects a struct in6_addr pointer.