Skip to content

Commit

Permalink
Revert "Disable the xdp_umem_reg size check for now. (#1227)" (#1237)
Browse files Browse the repository at this point in the history
This reverts commit e38d2af.
  • Loading branch information
arctic-alpaca authored Dec 11, 2024
1 parent 6a6f7a8 commit 74bcc35
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 74bcc35

Please sign in to comment.