summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/selftest/routingtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/selftest/routingtable.h b/src/selftest/routingtable.h
index 4e30b98..473f0f9 100644
--- a/src/selftest/routingtable.h
+++ b/src/selftest/routingtable.h
@@ -378,6 +378,8 @@ bool __init routing_table_selftest(void)
struct in6_addr ip;
__be64 part;
+ mutex_init(&mutex);
+
mutex_lock(&mutex);
routing_table_init(&t);