-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to 4.4.206 and prefer backported upstream commits when possible
The latest release of the 4.4 series merges several commits related to UAPI definitions: 1575c095e444 uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h 28b5d0be0ab6 uapi/if_ether.h: prevent redefinition of struct ethhdr cb4f43bf87eb uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define Additionally, there were several relevant fixes that haven't made their way into 4.4, but are in 4.9, which were cherry-picked: 53dc65d4d33c include/uapi/linux/ipx.h: fix conflicting defitions with glibc netipx/ipx.h 26f687354060 uapi libc compat: add fallback for unsupported libcs efc45154828a uapi glibc compat: fix outer guard of net device flags enum Some of these upstream changes made the existing patches obsolete: 0003-libc-compat.h-fix-some-issues-arising-from-in6.h.patch Since 26f687354060 was cherry-picked, in the else branch of this condition (__GLIBC__), __UAPI_DEF_IN6_ADDR_ALT is not defined if it was set by libc. Drop this patch, so musl's headers control the definition of the s6_addr16 and s6_addr32. 0004-libc-compat.h-prevent-redefinition-of-struct-ethhdr.patch This patch was applied upstream as 28b5d0be0ab6, except that instead of using _NETINET_IF_ETHER_H to control __UAPI_DEF_ETHHDR, it is conditionally defined based on whether there is no existing definition. Drop this patch, so musl's headers control the definition of struct ethhdr. 0005-fix-redefinition-of-struct-tcphdr.patch By dropping patch 3 (see above), we are no longer changing the __GLIBC__ section to __KERNEL__. Additionally, upstream commit 162a93c20de1 describes a problem with introducing libc-compat includes nto other headers. Follow the lead of cb4f43bf87eb, and move the conditional define of __UAPI_DEF_TCPHDR to linux/tcp.h, drop the libc-compat include, and make the definition conditional on no existing definition. 0006-fix-linux-time.h.patch Again, follow the lead of 162a93c20de1, and move the conditional defines of __UAPI_DEF_TIMESPEC, __UAPI_DEF_ITIMERSPEC, __UAPI_DEF_TIMEVAL, __UAPI_DEF_ITIMERVAL, and __UAPI_DEF_TIMEZONE to linux/time.h, drop the libc-compat include, and make the definitions conditional on no existing definition. 0007-fix-in-kernel-use-of-tcp-ethhdr.patch Obsolete by the upstream fix for ethhdr (28b5d0be0ab6), and the new patch for tcphdr. 0008-add-fixes-for-linux-if.h.patch Obsolete by cherry-picked commit 26f687354060, which makes the definitions conditional on no existing definition, and cherry-picked commit efc45154828a, which corrects an #if condition.
- Loading branch information
1 parent
4af3b80
commit 7ba25c5
Showing
59 changed files
with
962 additions
and
1,866 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.