Skip to content

Commit 13fb55d

Browse files
authored
fix(driver,iour): len field for RecvMulti (#879)
1 parent 742e8e0 commit 13fb55d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

compio-driver/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ windows-sys = { workspace = true, features = [
5151
# Linux specific dependencies
5252
[target.'cfg(target_os = "linux")'.dependencies]
5353
compile_warning = { version = "0.1.0", optional = true }
54-
io-uring = { version = "0.7.0", optional = true }
54+
io-uring = { version = "0.7.12", optional = true }
5555
once_cell = { workspace = true, optional = true }
5656
polling = { version = "3.3.0", optional = true }
5757
rustix = { workspace = true, features = ["linux_5_11"] }

compio-driver/src/sys/op/managed/iour.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ unsafe impl<S: AsFd> OpCode for RecvMulti<S> {
550550
let fd = self.inner.fd.as_fd().as_raw_fd();
551551
opcode::RecvMulti::new(Fd(fd), self.inner.buffer_group)
552552
.flags(self.inner.flags.bits() as _)
553+
.len(self.inner.len)
553554
.build()
554555
.into()
555556
}

0 commit comments

Comments
 (0)