Browse Source

Merge pull request #991 from l2dy/typo-1

docs(aya): fix typo
ajwerner 7 months ago
parent
commit
2cd9858ea9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      aya/src/maps/ring_buf.rs

+ 1 - 1
aya/src/maps/ring_buf.rs

@@ -35,7 +35,7 @@ use crate::{
 ///   reasons. By default, a notification will be sent if the consumer is caught up at the time of
 ///   committing. The eBPF program can use the `BPF_RB_NO_WAKEUP` or `BPF_RB_FORCE_WAKEUP` flags to
 ///   control this behavior.
-/// * On the eBPF side, it supports the reverse-commit pattern where the event can be directly
+/// * On the eBPF side, it supports the reserve-commit pattern where the event can be directly
 ///   written into the ring without copying from a temporary location.
 /// * Dropped sample notifications go to the eBPF program as the return value of `reserve`/`output`,
 ///   and not the userspace reader. This might require extra code to handle, but allows for more