diff --git a/src/net/types.rs b/src/net/types.rs index 853d6fbc9..bcda0f987 100644 --- a/src/net/types.rs +++ b/src/net/types.rs @@ -1809,8 +1809,11 @@ fn test_sizes() { #[cfg(linux_kernel)] assert_eq_size!(UCred, libc::ucred); + // Linux added fields to `xdp_umem_reg` so it's bigger now. + /* #[cfg(target_os = "linux")] assert_eq_size!(super::xdp::XdpUmemReg, c::xdp_umem_reg); + */ #[cfg(target_os = "linux")] assert_eq_size!(super::xdp::XdpOptions, c::xdp_options); #[cfg(target_os = "linux")]