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:
|
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.
In newer versions of Linux, an additional variant
IPPROTO_MPTCPhas been added: torvalds/linux@faf391c. This caused the value ofIPPROTO_MAXto change fromIPPROTO_MPLS + 1 = 256toIPPROTO_MPTCP + 1 = 263However, the
libccrate currently definesIPPROTO_MAXas256:libc/src/unix/linux_like/linux/mod.rs
Line 1319 in 999e5e1
This causees
libc-testto fail when run against a newer kernel version. I'm not really sure whatIPPROTO_MPTCPis used for, but this seemed worth bringing up.