Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux/concepts: fix a mistake on atomics return value
See more details in the specification[^0]: > The BPF_FETCH modifier is optional for simple atomic operations, and always set for the complex atomic operations. If the BPF_FETCH flag is set, then the operation also overwrites src with the value that was in memory before it was modified. [^0]: https://www.kernel.org/doc/html/v6.5/bpf/instruction-set.html#atomic-operations Signed-off-by: Mahe Tardy <[email protected]>
- Loading branch information