aboutsummaryrefslogtreecommitdiff
path: root/changes
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-06-01 14:02:55 -0400
committerNick Mathewson <nickm@torproject.org>2014-06-01 14:05:10 -0400
commitd9564d528514442e73221d8fbc3044856a2010a9 (patch)
tree8e59643a7830de207ed04b00026e493b0b0ac54a /changes
parentbe9058003da9b75abbf0403743e7631dc29ba27c (diff)
downloadtor-d9564d528514442e73221d8fbc3044856a2010a9.tar
tor-d9564d528514442e73221d8fbc3044856a2010a9.tar.gz
Use uint32 !=, not tor_memneq, for relay cell integrity checking
tor_memeq has started to show up on profiles, and this is one of the most frequent callers of that function, appearing as it does on every cell handled for entry or exit. 59f9097d5c3dc010847c359888d31757d1c97904 introduced tor_memneq here; it went into Tor 0.2.1.31. Fixes part of 12169.
Diffstat (limited to 'changes')
-rw-r--r--changes/bug12169_simple5
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug12169_simple b/changes/bug12169_simple
new file mode 100644
index 000000000..f9a300775
--- /dev/null
+++ b/changes/bug12169_simple
@@ -0,0 +1,5 @@
+ o Minor bugfixes (performance):
+ - Avoid using tor_memeq() for checking relay cell integrity.
+ This removes a possible performance bottleneck. Fixes part of bug
+ 12169; bugfix on 0.2.1.31.
+