Bug 259681 - need to enhance getaddrinfo to support optimistic addresses
Summary: need to enhance getaddrinfo to support optimistic addresses
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: glibc
Version: 5.0
Hardware: All
OS: All
high
low
Target Milestone: ---
: ---
Assignee: Jakub Jelinek
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 221859 253764 372911
TreeView+ depends on / blocked
 
Reported: 2007-08-28 11:35 UTC by Neil Horman
Modified: 2008-05-21 16:52 UTC (History)
1 user (show)

Fixed In Version: RHBA-2008-0083
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-21 16:52:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to add optimistic support to getaddrinfo (832 bytes, patch)
2007-08-28 11:35 UTC, Neil Horman
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0083 0 normal SHIPPED_LIVE glibc bug fix update 2008-05-20 13:20:00 UTC

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



Note You need to log in before you can comment on or make changes to this bug.