From 5679d03324e1cb62494bd573ff7ebd8e9653be0f Mon Sep 17 00:00:00 2001 From: arctic-alpaca <67190338+arctic-alpaca@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:50:54 +0100 Subject: [PATCH] Revert "Disable the `xdp_umem_reg` size check for now. (#1227)" This reverts commit e38d2af27bf6ba6070d16d5b00ab3067f66f4444. --- src/net/types.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/net/types.rs b/src/net/types.rs index bcda0f987..853d6fbc9 100644 --- a/src/net/types.rs +++ b/src/net/types.rs @@ -1809,11 +1809,8 @@ 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")]