From 6c91a824e2e8fdee4673e442421ae59a0ff53f44 Mon Sep 17 00:00:00 2001 From: faluco Date: Wed, 22 Sep 2021 16:43:43 +0200 Subject: [PATCH] Whitelist the TSAN lock order inversion issue in srsenb::mac::rlc_buffer_state. --- lib/include/srsran/common/tsan_options.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/include/srsran/common/tsan_options.h b/lib/include/srsran/common/tsan_options.h index 96a4f2544..397b40277 100644 --- a/lib/include/srsran/common/tsan_options.h +++ b/lib/include/srsran/common/tsan_options.h @@ -37,9 +37,12 @@ const char* __tsan_default_options() const char* __tsan_default_suppressions() { - // External uninstrumented libraries - return "called_from_lib:libzmq.so\n" - "called_from_lib:libpgm-5.2.so\n"; + return + // External uninstrumented libraries + "called_from_lib:libzmq.so\n" + "called_from_lib:libpgm-5.2.so\n" + // Lock order inversion issue in this function, ignore it as it uses rw locks in read mode + "deadlock:srsenb::mac::rlc_buffer_state\n"; } #ifdef __cplusplus