From 8857845844bb3112419eb88daef885e526824822 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 16 Dec 2024 00:27:51 -0800 Subject: [PATCH] tls: fix deadlock in error path --- src/sp/transport/tls/tls.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sp/transport/tls/tls.c b/src/sp/transport/tls/tls.c index f62b1da9f..ecb124a27 100644 --- a/src/sp/transport/tls/tls.c +++ b/src/sp/transport/tls/tls.c @@ -732,7 +732,6 @@ tlstran_dial_cb(void *arg) error: // Error connecting. We need to pass this straight back to the user. - nni_mtx_lock(&ep->mtx); if ((aio = ep->useraio) != NULL) { ep->useraio = NULL; nni_aio_finish_error(aio, rv);