mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
udp: uring: rename SendBuffers.mark_index_as_free
This commit is contained in:
parent
442ae5154e
commit
3cf6e30159
2 changed files with 2 additions and 2 deletions
|
|
@ -327,7 +327,7 @@ impl SocketWorker {
|
|||
// by kernel
|
||||
unsafe {
|
||||
self.send_buffers
|
||||
.mark_index_as_free(send_buffer_index as usize);
|
||||
.mark_buffer_as_free(send_buffer_index as usize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ impl SendBuffers {
|
|||
///
|
||||
/// Only safe to call once buffer is no longer referenced by in-flight
|
||||
/// io_uring queue entries
|
||||
pub unsafe fn mark_index_as_free(&mut self, index: usize) {
|
||||
pub unsafe fn mark_buffer_as_free(&mut self, index: usize) {
|
||||
self.buffers[index].free = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue