aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-02-02 18:11:01 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-11-20 20:29:16 -0500
commitfa71eb5196fc157213d7b6364071530ab19df724 (patch)
treef2a5f14ec10c389633b66beed5808ab10fdf6da0 /src/net.cpp
parent6d58a5c3b05585b01c960776e00856637ff1794d (diff)
Convert comments to thread safety annotations
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 65a308780a..e065ac0f28 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1011,6 +1011,7 @@ bool CConnman::AttemptToEvictConnection()
continue;
if (node->fDisconnect)
continue;
+ LOCK(node->cs_filter);
NodeEvictionCandidate candidate = {node->GetId(), node->nTimeConnected, node->nMinPingUsecTime,
node->nLastBlockTime, node->nLastTXTime,
HasAllDesirableServiceFlags(node->nServices),