diff options
-rw-r--r-- | src/ratelimiter.c | 2 | ||||
-rw-r--r-- | src/selftest/ratelimiter.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ratelimiter.c b/src/ratelimiter.c index bc24288..9c8a0c9 100644 --- a/src/ratelimiter.c +++ b/src/ratelimiter.c @@ -44,7 +44,7 @@ static void entry_free(struct rcu_head *rcu) static void entry_uninit(struct entry *entry) { hlist_del_rcu(&entry->hash); - call_rcu_bh(&entry->rcu, entry_free); + call_rcu(&entry->rcu, entry_free); } /* Calling this function with a NULL work uninits all entries. */ diff --git a/src/selftest/ratelimiter.h b/src/selftest/ratelimiter.h index 9c494a3..5b68014 100644 --- a/src/selftest/ratelimiter.h +++ b/src/selftest/ratelimiter.h @@ -80,7 +80,7 @@ bool __init ratelimiter_selftest(void) } gc_entries(NULL); - rcu_barrier_bh(); + rcu_barrier(); if (atomic_read(&total_entries)) goto err; |