diff options
author | 2025-01-28 11:46:30 -0500 | |
---|---|---|
committer | 2025-02-18 11:51:22 -0500 | |
commit | d81603b32cde95e5262c84004081b2e3cb4f23ed (patch) | |
tree | 06e544cfde1b2d892c73d5338dd3e87090e7a124 /rust/helpers/helpers.c | |
parent | cpumask: add for_each_{possible,online}_cpu_wrap (diff) | |
download | wireguard-linux-d81603b32cde95e5262c84004081b2e3cb4f23ed.tar.xz wireguard-linux-d81603b32cde95e5262c84004081b2e3cb4f23ed.zip |
objpool: rework objpool_pop()
The function has to track number of iterations to prevent an infinite
loop. for_each_cpu_wrap() macro takes care of it, which simplifies user
code.
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions