Don't package cells onto marked circuits.
commitd256d4c0a6c6a258c4f6c6839dd53c7e304fa94f
authorNick Mathewson <nickm@torproject.org>
Fri, 29 Sep 2017 13:26:16 +0000 (29 09:26 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 29 Sep 2017 13:33:47 +0000 (29 09:33 -0400)
tree6c0bb9086e7aad4a835975bdd313ca7e491a75e2
parent09618ffe38bc6cd91755c6c1aedb86dc099dfdf8
Don't package cells onto marked circuits.

This caused a BUG log when we noticed that the circuit had no
channel.  The likeliest culprit for exposing that behavior is
d769cab3e5097980, where we made circuit_mark_for_close() NULL out
the n_chan and p_chan fields of the circuit.

Fixes bug 8185; bugfix on 0.2.5.4-alpha, I think.
changes/bug8185_025 [new file with mode: 0644]
src/or/relay.c