From 1365a28eb2cc1ec0a48c4ed909d23e8db512d329 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 19 Oct 2017 03:28:59 +0200 Subject: selftest: initialize mutex in routingtable selftest Signed-off-by: Jason A. Donenfeld --- src/selftest/routingtable.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/selftest') 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); -- cgit v1.2.3