Description of problem: RFC 4429 requires that addresses flagged as optimistic be treated as depricated addresses. Since getaddrinfo attempts to organize addresses according to the priority laid out in RFC 3484, and IFA_F_OPTIMISTIC is a separate kernel flag, we need to update getaddrinfo to recognize this flag and handle it accordingly.
Created attachment 175961 [details] patch to add optimistic support to getaddrinfo
The patch is upstream.
Change is so far in rawhide glibc-2.6.90-14.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Jakub, can you tell me if this is inglibc for 5.2 yet? Thanks!
Need this for IPv6. QE Ack.
We need this fix in rhel 5.2 to meet IPV6DoD testing requirements. Jakub, can you please answer the question above?
yes, to both question, in RHEL5.2
BTW, the linux-2.6-net-ipv6-backport-optimistic-dad.patch patch changes userland API, which is very undesirable for RHEL5. linux/rtnetlink.h just should for RHEL5 the newly added linux/if_addr.h header, or instead of creating a new header the new stuff should be just added directly into linux/rtnetlink.h.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2008-0083.html