git: wg: Tweak ratelimit_gc() to just skip scheduling GC in forced case
Aaron LI
aly at crater.dragonflybsd.org
Sun Mar 16 22:08:08 PDT 2025
commit 62652d14e3e2a45b4c312232957c08a66361a86c
Author: Aaron LI <aly at aaronly.me>
Date: Mon Mar 17 09:15:33 2025 +0800
wg: Tweak ratelimit_gc() to just skip scheduling GC in forced case
Meanwhile, assert that there is no entry after a forced GC. Also move
the relevant comment over from ratelimit_gc_schedule().
Summary of changes:
sys/net/wg/wg_cookie.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/62652d14e3e2a45b4c312232957c08a66361a86c
--
DragonFly BSD source repository
More information about the Commits
mailing list