summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/ratelimiter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ratelimiter.c b/src/ratelimiter.c
index 9ad451e..c4281e1 100644
--- a/src/ratelimiter.c
+++ b/src/ratelimiter.c
@@ -183,7 +183,7 @@ void ratelimiter_uninit(void)
cancel_delayed_work_sync(&gc_work);
gc_entries(NULL);
- synchronize_rcu();
+ rcu_barrier();
kvfree(table_v4);
#if IS_ENABLED(CONFIG_IPV6)
kvfree(table_v6);