This is a request for backporting upstream commit: commit f9ac84f92f151e07586c55e14ed628d493a5929d Author: Joseph Myers <joseph> Date: Fri Apr 3 18:08:28 2020 +0000 Add IPPROTO_ETHERNET and IPPROTO_MPTCP from Linux 5.6 to netinet/in.h. so that user space application willing to migrate to MPTCP could do that more easily.
No regressions have been found.
Hi Carlos, this is my first draft for this bugfix RN. It would be great if you could provide some feedback on the correctness of the information! Thank you very much! .`Glibc` system library headers now include definitions for `IPPROTO_ETHERNET`, `IPPROTO_MPTCP`, and `INADDR_ALLSNOOPERS_GROUP` Previously, the system library headers (/usr/include/netinet/in.h) did not include definitions of `IPPROTO_ETHERNET`, `IPPROTO_MPTCP`, and `INADDR_ALLSNOOPERS_GROUP`. As a consequence, applications needing these definitions failed to compile. With this update, the system library headers now include the new network constant definitions for `IPPROTO_ETHERNET`, `IPPROTO_MPTCP`, and `INADDR_ALLSNOOPERS_GROUP` resulting in correctly compiling applications.
(In reply to Eva-Lotte Gebhardt from comment #5) > Hi Carlos, > > this is my first draft for this bugfix RN. It would be great if you could > provide some feedback on the correctness of the information! > Thank you very much! > > > .`Glibc` system library headers now include definitions for > `IPPROTO_ETHERNET`, `IPPROTO_MPTCP`, and `INADDR_ALLSNOOPERS_GROUP` > > Previously, the system library headers (/usr/include/netinet/in.h) did not > include definitions of `IPPROTO_ETHERNET`, `IPPROTO_MPTCP`, and > `INADDR_ALLSNOOPERS_GROUP`. As a consequence, applications needing these > definitions failed to compile. With this update, the system library headers > now include the new network constant definitions for `IPPROTO_ETHERNET`, > `IPPROTO_MPTCP`, and `INADDR_ALLSNOOPERS_GROUP` resulting in correctly > compiling applications. I would remove this: "resulting in correctly compiling applications" It is sufficient to say the constant are now defined. If you want to go further I would add: "Applications using these constants can now be compiled."
Thank you very much, Carlos! The updated draft now looks like this: .`Glibc` system library headers now include definitions for `IPPROTO_ETHERNET`, `IPPROTO_MPTCP`, and `INADDR_ALLSNOOPERS_GROUP` Previously, the system library headers (/usr/include/netinet/in.h) did not include definitions of `IPPROTO_ETHERNET`, `IPPROTO_MPTCP`, and `INADDR_ALLSNOOPERS_GROUP`. As a consequence, applications needing these definitions failed to compile. With this update, the system library headers now include the new network constant definitions for `IPPROTO_ETHERNET`, `IPPROTO_MPTCP`, and `INADDR_ALLSNOOPERS_GROUP`. Applications using these constants can now be compiled.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: glibc security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4358