From d9e775908876983747ea409b831367b1fe9b7fb9 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Mon, 30 Oct 2023 16:54:49 +0000 Subject: [PATCH 1/2] Bug 40878: Count a valid conflux linked cell as valid data For vanguards addon. --- src/core/or/conflux_pool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/or/conflux_pool.c b/src/core/or/conflux_pool.c index 4a7e941372..3a8f6ec8e3 100644 --- a/src/core/or/conflux_pool.c +++ b/src/core/or/conflux_pool.c @@ -1975,6 +1975,9 @@ conflux_process_linked(circuit_t *circ, crypt_path_t *layer_hint, connection_ap_attach_pending(1); } + /* This cell is now considered valid for clients. */ + circuit_read_valid_data(TO_ORIGIN_CIRCUIT(circ), cell_len); + goto end; close: From 09685fa038bc7972cc4c38dc751ced35b8d29982 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Mon, 30 Oct 2023 16:55:11 +0000 Subject: [PATCH 2/2] Changes file for bug 40878 --- changes/bug40878 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/bug40878 diff --git a/changes/bug40878 b/changes/bug40878 new file mode 100644 index 0000000000..503ace69da --- /dev/null +++ b/changes/bug40878 @@ -0,0 +1,4 @@ + o Minor bugfixes (vanguards addon support): + - Count the conflux linked cell as valid when it is successfully + processed. This will quiet a spurious warn in the vanguards addon. + Fixes bug 40878; bugfix on 0.4.8.1-alpha.