diff options
author | George Kadianakis <desnacked@riseup.net> | 2019-01-11 12:06:14 +0200 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2019-01-11 14:41:28 +0200 |
commit | 4dc189a9047931599f524a7c7dc5b447f3915409 (patch) | |
tree | 68a3f86c87fb47a6bd69e191cce14abc34bc3792 /src/core/or/circuit_st.h | |
parent | 9728d3f8ac395d7157d30f9b73117b58d704432c (diff) | |
download | tor-4dc189a9047931599f524a7c7dc5b447f3915409.tar.gz tor-4dc189a9047931599f524a7c7dc5b447f3915409.zip |
Clarify immutability of global padding machine specs.
Diffstat (limited to 'src/core/or/circuit_st.h')
-rw-r--r-- | src/core/or/circuit_st.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/or/circuit_st.h b/src/core/or/circuit_st.h index 47639940d4..29bcaa098f 100644 --- a/src/core/or/circuit_st.h +++ b/src/core/or/circuit_st.h @@ -185,7 +185,9 @@ struct circuit_t { /** Adaptive Padding state machines: these are immutable. The state machines * that come from the consensus are saved to a global structure, to avoid - * per-circuit allocations. This merely points to the global copy. + * per-circuit allocations. This merely points to the global copy in + * origin_padding_machines or relay_padding_machines that should never + * change or get deallocated. * * Each element of this array corresponds to a different padding machine, * and we can have up to CIRCPAD_MAX_MACHINES such machines. */ |