Bug 259681

Summary: need to enhance getaddrinfo to support optimistic addresses
Product: Red Hat Enterprise Linux 5 Reporter: Neil Horman <nhorman>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Brian Brock <bbrock>
Severity: low Docs Contact:
Priority: high    
Version: 5.0CC: drepper
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: RHBA-2008-0083 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 16:52:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 221859, 253764, 372911    
Attachments:
Description Flags
patch to add optimistic support to getaddrinfo none

Description Neil Horman 2007-08-28 11:35:33 UTC
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.

Comment 1 Neil Horman 2007-08-28 11:35:33 UTC
Created attachment 175961 [details]
patch to add optimistic support to getaddrinfo

Comment 2 Ulrich Drepper 2007-08-29 17:00:46 UTC
The patch is upstream.

Comment 3 Jakub Jelinek 2007-09-19 07:26:53 UTC
Change is so far in rawhide glibc-2.6.90-14.

Comment 4 RHEL Program Management 2007-10-16 03:43:32 UTC
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.

Comment 5 Neil Horman 2007-11-30 20:58:03 UTC
Jakub, can you tell me if this is inglibc for 5.2 yet?  Thanks!

Comment 6 Lawrence Lim 2007-12-21 15:04:46 UTC
Need this for IPv6. QE Ack.

Comment 7 Irina Boverman 2007-12-21 15:09:13 UTC
We need this fix in rhel 5.2 to meet IPV6DoD testing requirements. Jakub, can
you please answer the question above?

Comment 10 Neil Horman 2008-01-04 21:51:48 UTC
yes, to both question, in RHEL5.2

Comment 11 Jakub Jelinek 2008-01-08 09:08:17 UTC
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.

Comment 15 errata-xmlrpc 2008-05-21 16:52:18 UTC
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