We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
xdp_umem_reg
1 parent ef39477 commit e38d2afCopy full SHA for e38d2af
1 file changed
src/net/types.rs
@@ -1809,8 +1809,11 @@ fn test_sizes() {
1809
#[cfg(linux_kernel)]
1810
assert_eq_size!(UCred, libc::ucred);
1811
1812
+ // Linux added fields to `xdp_umem_reg` so it's bigger now.
1813
+ /*
1814
#[cfg(target_os = "linux")]
1815
assert_eq_size!(super::xdp::XdpUmemReg, c::xdp_umem_reg);
1816
+ */
1817
1818
assert_eq_size!(super::xdp::XdpOptions, c::xdp_options);
1819
0 commit comments