summaryrefslogtreecommitdiffhomepage
path: root/src/selftest/ratelimiter.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-07 19:19:25 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-08 03:14:52 +0200
commitb09de1f158b7b4ed69265edda4c411791602badd (patch)
treeb2ec371d9a44bd468a976eb719e50080199f6c62 /src/selftest/ratelimiter.c
parentba483b05385c35d3863921eec72292c349292a7e (diff)
global: prefix functions used in callbacks with wg_
Suggested-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/selftest/ratelimiter.c')
-rw-r--r--src/selftest/ratelimiter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selftest/ratelimiter.c b/src/selftest/ratelimiter.c
index 0d956e0..724a571 100644
--- a/src/selftest/ratelimiter.c
+++ b/src/selftest/ratelimiter.c
@@ -92,7 +92,7 @@ restart:
maximum_jiffies_at_index(i))) { \
if (++tries >= 5000) \
goto err; \
- gc_entries(NULL); \
+ wg_ratelimiter_gc_entries(NULL); \
rcu_barrier(); \
msleep(500); \
goto restart; \
@@ -136,7 +136,7 @@ restart:
tries = 0;
restart2:
- gc_entries(NULL);
+ wg_ratelimiter_gc_entries(NULL);
rcu_barrier();
if (atomic_read(&total_entries))