-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync linux headers to 4.19.66 #222
Conversation
This fixes the build with musl libc. Additionally, several changes were made to account for changes to the headers: - ip_mp_alg.h was removed, since it was removed in linux commit e06e7c61 (v2.6.23), and the last use of those constants was removed in libnl commit 535e831. - Uses of TCF_META_ID_SK_ROUTE_CAPS were updated to __TCF_META_ID_SK_ROUTE_CAPS, since it was renamed in linux commit e20e6940 (v3.1). - Uses of IF_CARRIER_DOWN and IF_CARRIER_UP were replaced with their values, 0 and 1, since they are not in linux/if.h (they appear to be libnl-specific, added in libnl commit 3540e44).
Hmm... it looks like |
This fixes the build with musl libc. Additionally, several changes were made to account for changes to the headers: - ip_mp_alg.h was removed, since it was removed in linux commit e06e7c61 (v2.6.23), and the last use of those constants was removed in libnl commit 535e831. - Uses of TCF_META_ID_SK_ROUTE_CAPS were updated to __TCF_META_ID_SK_ROUTE_CAPS, since it was renamed in linux commit e20e6940 (v3.1). - Uses of IF_CARRIER_DOWN and IF_CARRIER_UP were replaced with their values, 0 and 1, since they are not in linux/if.h (they appear to be libnl-specific, added in libnl commit 3540e44). #222
…ndling 8 bit flags Related: #222 (comment)
I merged the pull-request. Thank you!!
Right. Internally it even only considers 8 bits, so How about 1940695 ? For now I just added a comment about that. If anybody requires this to work, patch welcome. |
Thanks, your fix looks fine. When looking into this issue, I found that to support these higher extensions, the kernel actually overloads the lower extensions, or just always returns them under certain conditions. For example, So, sending (Disclaimer: I have no idea what any of this idiag stuff does, these are just the results of my investigation of the build failure) |
This fixes the build with musl libc. Additionally, several changes were made to account for changes to the headers: - ip_mp_alg.h was removed, since it was removed in linux commit e06e7c61 (v2.6.23), and the last use of those constants was removed in libnl commit 535e831. - Uses of TCF_META_ID_SK_ROUTE_CAPS were updated to __TCF_META_ID_SK_ROUTE_CAPS, since it was renamed in linux commit e20e6940 (v3.1). - Uses of IF_CARRIER_DOWN and IF_CARRIER_UP were replaced with their values, 0 and 1, since they are not in linux/if.h (they appear to be libnl-specific, added in libnl commit 3540e44). thom311/libnl#222
…ndling 8 bit flags Related: thom311/libnl#222 (comment)
This fixes the build with musl libc.
Additionally, several changes were made to account for changes to the
headers:
ip_mp_alg.h
was removed, since it was removed in linux commit torvalds/linux@e06e7c61(v2.6.23), and the last use of those constants was removed in libnl
commit 535e831.
TCF_META_ID_SK_ROUTE_CAPS
were updated to__TCF_META_ID_SK_ROUTE_CAPS
, since it was renamed in linux committorvalds/linux@e20e6940 (v3.1).
IF_CARRIER_DOWN
andIF_CARRIER_UP
were replaced with theirvalues, 0 and 1, since they are not in
linux/if.h
(they appear to belibnl-specific, added in libnl commit 3540e44).