Skip to content

Commit

Permalink
Revert "Disable the xdp_umem_reg size check for now. (bytecodeallia…
Browse files Browse the repository at this point in the history
…nce#1227)"

This reverts commit e38d2af.
  • Loading branch information
arctic-alpaca committed Dec 8, 2024
1 parent 734b8fe commit 2abc155
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/net/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 2abc155

Please sign in to comment.