summaryrefslogtreecommitdiff
path: root/lib/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/resource.c')
-rw-r--r--lib/resource.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/resource.c b/lib/resource.c
index 2d041ad5..0651406f 100644
--- a/lib/resource.c
+++ b/lib/resource.c
@@ -13,6 +13,7 @@
#include "nest/bird.h"
#include "lib/resource.h"
#include "lib/string.h"
+#include "lib/rcu.h"
/**
* DOC: Resource pools
@@ -284,6 +285,8 @@ rlookup(unsigned long a)
void
resource_init(void)
{
+ rcu_init();
+
root_pool.r.class = &pool_class;
root_pool.name = "Root";
init_list(&root_pool.inside);