From 2abc15504a86afef06d1e7f24fd5b8b1ab4f0058 Mon Sep 17 00:00:00 2001 From: arctic-alpaca <67190338+arctic-alpaca@users.noreply.github.com> Date: Sun, 8 Dec 2024 20:14:09 +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 f5a1d121d..80d4bc854 100644 --- a/src/net/types.rs +++ b/src/net/types.rs @@ -1813,11 +1813,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")]