mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 12:10:46 +01:00
imptcp counts the number of bytes received. However, receives happen on different worker thread. The access to the counter was not synchronized, which can cause loss of updates. Also, thread debuggers validly flag this as an error, which creates problems under CI. This commit fixes the situation via atomic operations and falls back to mutex calls if they are not available. Detected by LLVM thread sanitizer. closes https://github.com/rsyslog/rsyslog/issues/3798
20 lines
335 B
Plaintext
20 lines
335 B
Plaintext
#fun:resetResettableCtr
|
|
src:debug.c
|
|
src:queue.c
|
|
src:omprog.c
|
|
src:lookup.c
|
|
src:rainerscript.c
|
|
src:imdiag.c
|
|
|
|
fun:doSIGTTIN
|
|
# Queue code intentionally is not using atomics
|
|
#fun:
|
|
|
|
# actual bugs that should be fixed ASAP after TSAN is in place:
|
|
fun:TCPSessTblFindFreeSpot
|
|
fun:processWorksetItem
|
|
|
|
fun:doLogMsg
|
|
|
|
fun:setSuspendMessageConfVars
|