-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Milestone
Description
In newer versions of Linux, an additional variant IPPROTO_MPTCP has been added: torvalds/linux@faf391c. This caused the value of IPPROTO_MAX to change from IPPROTO_MPLS + 1 = 256 to IPPROTO_MPTCP + 1 = 263
However, the libc crate currently defines IPPROTO_MAX as 256:
libc/src/unix/linux_like/linux/mod.rs
Line 1319 in 999e5e1
| pub const IPPROTO_MAX: ::c_int = 256; |
This causees libc-test to fail when run against a newer kernel version. I'm not really sure what IPPROTO_MPTCP is used for, but this seemed worth bringing up.