Bug 1241061
| Summary: | glibc doesn't provide definitions needed to support rfc3542 IPv6 socket properties | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nikos Mavrogiannopoulos <nmavrogi> |
| Component: | glibc | Assignee: | Carlos O'Donell <codonell> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | arjun, codonell, fweimer, jakub, law, pfrankli, spoyarek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glibc-2.21-7.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-16 02:33:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed upstream.
commit 1c1e3125206ef810dc7282023f6267a33b486233
Author: Carlos O'Donell <carlos>
Date: Wed Jul 8 09:26:45 2015 -0400
Add missing Advanced API (RFC3542) (1) defines.
Fixes bug 18643.
Defines IPV6_RECVPATHMTU, IPV6_PATHMTU, and IPV6_DONTFRAG for Linux.
Thanks. glibc-2.21-7.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/glibc-2.21-7.fc22 Package glibc-2.21-7.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing glibc-2.21-7.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-11443/glibc-2.21-7.fc22 then log in and leave karma (feedback). glibc-2.21-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: glibc doesn't provide definitions needed to support standard (rfc3542) IPV6 socket properties. For example to obtain the MTU value of the path, the IPV6_PATHMTU option to getsockopt() can be used. This is supported by the Linux kernel but not by glibc. How reproducible: Compile the following program. #define _GNU_SOURCE #include <unistd.h> #include <netinet/in.h> #include <sys/types.h> #include <sys/socket.h> int main() { struct ip6_mtuinfo mtuinfo; socklen_t len; getsockopt(1, IPPROTO_IPV6, IPV6_PATHMTU, &mtuinfo, &len); return 0; } Actual results: Fails because IPV6_PATHMTU is undefined. Expected results: Compilation should complete. Additional info: A bug report and a fix was posted in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753909