SIGN IN SIGN UP

UCS/SOCK: Skip IPv4 link-local addresses in ucs_netif_get_addr (#11504)

IPv6 link-local addresses (fe80::/10) are already filtered by
IN6_IS_ADDR_LINKLOCAL, but IPv4 link-local (169.254.0.0/16) was not.
In Kubernetes environments with CNI plugins, pod identity interfaces
(e.g. pod-id-link0) carry 169.254.x.x addresses that are not routable
across nodes. When UCX auto-selects such an interface for TCP transport,
remote peers fail to connect (Connection refused / NIXL_ERR_BACKEND).

Add the equivalent IPv4 link-local check so that these addresses are
skipped during interface enumeration, matching the existing IPv6
behavior.

Signed-off-by: Adit Ranadive <aranadive@nvidia.com>
A
Adit Ranadive committed
b531a68957869581b4b53b9b9db40083b3260311
Parent: a4abe16
Committed by GitHub <noreply@github.com> on 5/30/2026, 9:11:25 PM